Skip to content

Instantly share code, notes, and snippets.

@codingwithsara
Created November 9, 2018 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingwithsara/cbce421bd7261777cc5948064b7df9be to your computer and use it in GitHub Desktop.
Save codingwithsara/cbce421bd7261777cc5948064b7df9be to your computer and use it in GitHub Desktop.
Catch the Ball – #11 Implement AdMob Interstitial Ad
<!-- Include required permissions for Google Mobile Ads to run-->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!--This meta-data tag is required to use Google Play Services.-->
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<!--Include the AdActivity configChanges and theme. -->
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="@android:style/Theme.Translucent" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment