iOS Question Set Badge SlideMenu

MarcoRome

Expert
Licensed User
Longtime User

Erel

B4X founder
Staff member
Licensed User
Longtime 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
 
Upvote 0
Top