Sub Button_Touch(viewTag As Object, action As Int, x As Float, y As Float, moveEvent As Object) As Boolean
Dim myControl As Label
Dim a As Activity
myControl = Sender
If action = 0 Then myControl.Background = SetNinePatchDrawable("buttondown")
If action = 1 OR x < 0 OR y < 0 OR x > myControl.Width OR y > myControl.Height Then myControl.Background = SetNinePatchDrawable("buttonup")
End Sub