Android Question hiding b4xpages actionbar

ShadTech

Member
Licensed User
i tried hiding b4xpages actionbar with statement
hiding action bar:
    B4XPages.GetManager.ActionBar.RunMethod("hide",Null)
it hides it but create another bar with same height in the bottom
any solutions???
 

Cableguy

Expert
Licensed User
Longtime User
I know this is an old one...

Still, the issue is there!!!


B4X:
 B4XPages.GetManager.ActionBar.RunMethod("hide",Null)
but creates a bar with same height in the bottom, even with
B4X:
#IncludeTitle: False
In Main, and even in the "Activity" properties in the Visual Designer!
BTW, using AppCompat!
any solutions???

Found the solution!
when using AppCompat, in order to remove the Title bar you need to set it in the Manifest:
B4X:
SetApplicationAttribute(android:theme, "@style/MyTheme")
CreateResource(values, themes.xml,
<resources>
    <style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
    </style>
</resources>)
 
Last edited:
Upvote 0

aeric

Expert
Licensed User
Longtime User
Please post your question in a new thread.
 
Upvote 0
Top