Nasri
Nasri

Reputation: 99

How to make Admob InterstitialAd be landscape in Android

Hey guys I am using GoogleAdMobAdsSdk-6.3.0.jar of Admob, in my landscape game, I wanna InterstitialAd to be force landscape. I have try to set

<activity android:name="com.google.ads.AdActivity" 
        android:label="@string/app_name" 
        android:screenOrientation="landscape"
        android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
    </activity> 

in the manifest file, but the InterstitialAd orientation still follow the orientation of my android phone. How to make it fixed landscape? Thanks in advance. :)

Upvotes: 1

Views: 1247

Answers (1)

William
William

Reputation: 20196

?? Why wouldn't you want the ad to show in the orientation in which the user has the device? If they are playing in landscape then the ad will show in landscape. If they have rotated the device then it will show in portrait but it will be oriented correctly for the user.

I think you are worrying for no reason.

Upvotes: 1

Related Questions