Set the AdActivity theme to @android: style / Theme.Translucent to enable a transparent background interstitial

I receive the above message in magazines, and as a result, I believe that I do not receive as many interstitial ads as I can. I have already updated my manifest using the following line

<activity android:name="com.millennialmedia.android.MMActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:configChanges="keyboardHidden|orientation|keyboard" /> 

But I still get this error. There seems to be something else I need to do for this to work.

Any ideas?

+8
android manifest mopub ads interstitial
source share
2 answers

Perhaps you need to add AdActivity to the manifest file?

  <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" /> 

and ask a topic for him?

+27
source share

Add android: theme = "@android: style / Theme.Translucent" to the manifest file. Same as below

  <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" /> 
+4
source share

All Articles