button actionbar TwoLayoutActivities

angel

Member
Licensed User
Longtime User
Hello

When I click the button actionbar want to open another Layout startActivity (AddBaby) and fails, if I do a button outside the actionbar works. Click event does not work like longClcick works. In the simulator works, but when I install the application on the phone will stop, let the example.

Thank you.
 

Attachments

Change this line
Code: Copy
AB.AddButton(LoadBitmap(File.DirAssets, "new baby.png"), "", 5, -1, "", "newbaby_Click")
in to
Code: Copy
AB.AddButton(LoadBitmap(File.DirAssets, "new baby.png"), "", 5, -1, "newbaby_Click", "")
 
Upvote 0
Now was reviewing the method and seen that put the click event in place of longclick because it works, thanks.
 
Upvote 0
Back
Top