Dim AdaptiveSize As Map = GetAdaptiveAdSize
'Add Private BannerAd As AdView in Globals sub
BannerAd.Initialize2("BannerAd", Main.bann,AdaptiveSize.Get("native"))
Activity.AddView(BannerAd, 0, 100%y - AdaptiveSize.Get("height"), AdaptiveSize.Get("width"), AdaptiveSize.Get("height"))
BannerAd.LoadAd
tm.Initialize("tm", Main.gecc)
tm.LoadAd
B4X:
Private ime As IME
Private rootx As B4XView
End Sub
Sub Activity_Create(FirstTime As Boolean)
ime.Initialize("ime")
rootx = xui.CreatePanel("")
Dim Content As Rect = ime.GetContentRect
Activity.AddView(rootx, Content.Left, Content.Top, Content.Width, Content.Height)
ime.UpdatePercentageReference(rootx.Width, rootx.Height)
rootx.LoadLayout("rex1")
Hello, I received a warning from Google regarding ad placement. What could be the reason for this?