Android Question How to Make Content Appear Behind the Navigation Bar?

Binary01

Active Member
Licensed User
Longtime User
I want to run my b4a app on full screen.
so I add as follow:
#FullScreen: True
#IncludeTitle: False
It's ok for android old version tablet.
But I run app on MoMo Tablet Android 4.4.2., it does not show full screen. Tablet shows navigation bar at the bottom.

I found the articles as follow:
On Android 4.1 and higher, you can set your application's content to appear behind the navigation bar, so that the content doesn't resize as the navigation bar hides and shows. To do this, use SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION. You may also need to use SYSTEM_UI_FLAG_LAYOUT_STABLE to help your app maintain a stable layout.
https://developer.android.com/training/system-ui/navigation.html#behind

How to solve it in my b4a app?
Thanks
 
Top