Android Code Snippet Change the action bar height



Add to manifest editor:
B4X:
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, theme.xml,
<resources>
    <style name="LightTheme" parent="@android:style/Theme.Material.Light">
         <item name="android:actionBarSize">40dp</item>
    </style>
</resources>
)

Remove:
B4X:
CreateResourceFromFile(Macro, Themes.DarkTheme) 'or LightTheme
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…