Y ykucuk Well-Known Member Licensed User Longtime User Aug 15, 2013 #1 hello, is there way add button to title bar as "+" button on whatsapp. i need to add this button for compose message thanks
hello, is there way add button to title bar as "+" button on whatsapp. i need to add this button for compose message thanks
C cmweb Active Member Licensed User Longtime User Aug 15, 2013 #2 Just don't use the title bar and design your own... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2013 #3 You can use Activity.AddMenuItem3 to add an icon to the title bar. Upvote 0
Russ Member Licensed User Longtime User Jun 29, 2014 #4 That works great, thanks Erel. For others I used Code: Copy 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
That works great, thanks Erel. For others I used Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2014 #5 Menu items appear on the right side of the action bar. You can use StdActionBar library to add a custom view to the or to handle the "action bar main button" click event. Upvote 0
Menu items appear on the right side of the action bar. You can use StdActionBar library to add a custom view to the or to handle the "action bar main button" click event.
Russ Member Licensed User Longtime User Jul 2, 2014 #6 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
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
Erel B4X founder Staff member Licensed User Longtime User Jul 2, 2014 #7 Don't miss this one: jfeinstein10 SlidingMenu library Upvote 0
Russ Member Licensed User Longtime User Jul 3, 2014 #8 Thanks Erel. I had implemented that one, but it is missing the slide in and out 3 bar button at the top. This is used in Trello, YouTube, Google Play etc so I was looking to replicate that. The closest looks like the ActionDrawer lib, but that's not working for me at the moment. http://www.b4x.com/android/forum/threads/actiondrawer-actionbar-and-navdrawer-made-perfect.32086/ Cheers Upvote 0
Thanks Erel. I had implemented that one, but it is missing the slide in and out 3 bar button at the top. This is used in Trello, YouTube, Google Play etc so I was looking to replicate that. The closest looks like the ActionDrawer lib, but that's not working for me at the moment. http://www.b4x.com/android/forum/threads/actiondrawer-actionbar-and-navdrawer-made-perfect.32086/ Cheers