iOS Question Set Badge SlideMenu

MarcoRome

Expert
Licensed User

Erel

Administrator
Staff member
Licensed User
very similar to AppCompat with Toolbar
Note that the B4A side menu actually isn't related to AppCompat.

You can use any icon you like. It is set here:
B4X:
    Page1.TopRightButtons = Array(smc.CreateBarButton("right"))
   Page1.TopLeftButtons = Array(smc.CreateBarButton("left"))
smc.CreateBarButton is just a utility method that creates a hamburger icon. You can set the buttons yourself.

It should also be simple to draw a badge over the bitmap. Example of drawing a badge: https://www.b4x.com/android/forum/threads/b4x-xui-badger-add-badges-to-views.81723/#content
 
Top