i have a simple app (using non B4XPages) which displays content in webview and on bottom of app banner ads is displayed. but now i noticed the ads is appearing behind the navigationbar. adding "* 2" seems to fix it. wants to know if this approach is correct.
no problem with app title as im using CreateResourceFromFile(Macro, Themes.LightTheme). target SDK is 36
no problem with app title as im using CreateResourceFromFile(Macro, Themes.LightTheme). target SDK is 36
banner ads code:
Activity.AddView(BannerAd, 0dip, 100%y - (AdaptiveSize.Get("height") * 2), AdaptiveSize.Get("width"), AdaptiveSize.Get("height"))
Attachments
Last edited: