Sub SetPressed(cmd As Button, Pressed As Boolean)
Dim ref As Reflector
ref.Target = cmd
ref.RunMethod2("setPressed", Pressed, "java.lang.boolean")
End Sub
I dont think it makes a lot of difference, but I would prefer buttons if they dont need to hold any child views.Ragarding the device resurces required, it's better to use several panels or several buttons to implement a custom UI ?