Android Question Add button to Title bar

ykucuk

Well-Known Member
Licensed User
Longtime User
hello,

is there way add button to title bar as "+" button on whatsapp.

i need to add this button for compose message

thanks
 

Russ

Member
Licensed User
Longtime User
That works great, thanks Erel. For others I used

B4X:
Activity.AddMenuItem3("MENU","ButtonMenu", LoadBitmap(File.DirAssets, "menu.png"), True)

Does anyone know of a way to get the button I just added to appear on the left of the ActionBar please? I want to use it to control a fly out menu on the left.

Thank you
 
Upvote 0

Russ

Member
Licensed User
Longtime User
Thank you Erel.

I've hunted through various actionbar libraries and can't seem to find what I need. I looked through the google docs and realised I was trying to replicate the Navigation Drawer stuff in Android.

https://developer.android.com/design/patterns/navigation-drawer.html

Now I know what it's called I had a quick google and found this

http://www.b4x.com/android/forum/threads/ahnavigationdrawer-native-google-navigation-drawer.31461/
http://www.b4x.com/android/forum/threads/actiondrawer-actionbar-and-navdrawer-made-perfect.32086/
http://www.b4x.com/android/forum/threads/class-slidingsidebar.21533/

Thanks
 
Upvote 0
Top