Android Question Action bar events

Peekay

Active Member
Licensed User
Longtime User
I have two icons on my action bar created by .AddMenuItem3.
One is:
settings:
        Activity.AddMenuItem3("Settings", "settings", LoadBitmap(File.DirAssets,"settings.png"), True)

When I press the settings bitmap, I wish to create an event to open the settings panel.
How would I do that?

Thanks
PK
 

Peekay

Active Member
Licensed User
Longtime User
Sub Settings_Click 'put your code here to open the panel End Sub

I could not raise such an event by clicking on the bitmap.
When I used .AddMenuItem witohut a bitmap, I could not raise the event when I clicked on the menu item.

PK
 
Upvote 0
Top