Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim demo As GoodView
Dim buton As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
buton.Initialize("buton")
buton.Text="Like"
Activity.AddView(buton,10dip,150dip,90dip,90dip)
demo.Initialize
End Sub
Sub buton_click
'like below is the name of a drawable
demo.Image="like"
demo.show(Sender)
End Sub