Hello everyone.
How can I disable Admob's edge-to-edge (interstitial) feature?
www.b4x.com
The app is already working fine without edge-to-edge.
I'm using it in manifest.
But Admob uses a separate activity for the interstitial.
How do I disable edge-to-edge interstitial Admob?
Note: The attached image shows an ad (interstitial) cut off at the bottom.
I need to set
for the interstitial admob.
thxx
How can I disable Admob's edge-to-edge (interstitial) feature?
targetSdkVersion 35 and opting out of edge-to-edge enforcement
Starting from B4A v13.4, the default themes (Themes.LightTheme / Themes.DarkTheme) already include the snippet that opts out of edge-edge. You only need this if you use a customize theme. The recommended targetSdkVersion is presently 34, however if you like to experiment with v35 then your app...

The app is already working fine without edge-to-edge.
I'm using it in manifest.
XML:
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>
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
</style>
<style name="LowerCaseMenu" parent="android:TextAppearance.Material.Widget.ActionBar.Menu">
<item name="android:textAllCaps">false</item>
</style>
</resources>
)
But Admob uses a separate activity for the interstitial.
How do I disable edge-to-edge interstitial Admob?
Note: The attached image shows an ad (interstitial) cut off at the bottom.
I need to set
XML:
for the interstitial admob.
thxx