full screen background transparency

87 views
Skip to first unread message

Antonio Hervás

unread,
Oct 17, 2014, 11:47:50 AM10/17/14
to google-adm...@googlegroups.com
Hi guys,

How can I do to show a full screen [Interstitial] (ImageCreative or CustomCreative [HTML]) and with a semitransparent background ?

Regards

PS. I'm using com.google.android.gms.ads.doubleclick.PublisherInterstitialAd

Eric Leichtenschlag

unread,
Oct 20, 2014, 6:06:23 PM10/20/14
to google-adm...@googlegroups.com
This feature isn't quite supported yet.  There was some SDK level work done to support this, but there is currently no way for the creative to tell the SDK that it wants to be transparent. The team needs to do more testing and run some experiments to determine that transparent interstitials will have a positive impact and are an overall better user experience. I don't have a date for when this will be completed though.

To prepare your app to support transparent interstitials later, you'll need to add Theme.Translucent to your AdActivity declaration in your Android manifest:

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

That'll tee your app up for support later down the road.

Antonio Hervás

unread,
Oct 21, 2014, 12:20:30 PM10/21/14
to google-adm...@googlegroups.com
Ok thanks! I hope that AdMob division will think in it because a lot of networks are doing this and their interstitials shows better. (they are quite more cool for applications).

Regards and thanks again.
Reply all
Reply to author
Forward
0 new messages