Android Question TabStripViewPager - Activity.AddMenuItem3

beeblomarv

Member
Licensed User
hello,
I want to basically change the icon apperance on the top of the panel - using tabstripviewpager!
If I click on the bluetooth icon it should change it apperance off ----> On!!!!
I am trying to do sth like this:

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
Activity.AddMenuItem3("Connect","Connect",LoadBitmap(File.DirAssets,"bluetooth_off.png"),True)
End Sub

Sub Connect_Click
Msgbox("SAdasdasd","sadasdasd")
Activity.AddMenuItem3("Connect","Connect",LoadBitmap(File.DirAssets,"bluetooth_on.png"),True)
End Sub

Any Ideas?
 

beeblomarv

Member
Licensed User
this really isn't helping ... so I ask you really simple question-
I need to add a menu item, enable or disable a menu item and change the label of the menu item programatically.
Can I change the menu item once it has been set? Please be specific
 
Upvote 0
Top