Android Question how to enable edge to edge which is disabled in b4a 13.40

Markos

Active Member
Licensed User
Longtime User
Hi All,

how to enable edge to edge which is disabled in b4a 13.40?

Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Manifest editor:
1. Remove the line: CreateResourceFromFile(Macro, Themes.LightTheme)

2. Add:
B4X:
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, theme.xml,
<resources>
    <style
        name="LightTheme" parent="@android:style/Theme.Material.Light">
       <item name="android:actionMenuTextAppearance">@style/LowerCaseMenu</item>
    </style>
     <style name="LowerCaseMenu" parent="android:TextAppearance.Material.Widget.ActionBar.Menu">
        <item name="android:textAllCaps">false</item>
    </style>
</resources>
)
 
Upvote 0
Top