Android Question AdView Orientation Problem

selvamurali

Active Member
Licensed User
Longtime User
Dear Team i use the below code for AdMob AdView

Dim AdBox as AdView

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
AdBox.Initialize2("Ad", "a151ff73926675e", AdBox.SIZE_SMART_BANNER)
Activity.AddView(AdBox, 0dip, 0dip, 100%x,50dip)
AdBox.LoadAd
End sub

the above code shows the Ad in landscape mode only . in portrait not show the ad .

what am missing.
 
Top