| 1 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" > |
| 2 |
|
| 3 |
<!-- Include required permissions for Google Mobile Ads to run. --> |
| 4 |
<uses-permission android:name="android.permission.INTERNET"/> |
| 5 |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 6 |
|
| 7 |
<application> |
| 8 |
<!--This meta-data tag is required to use Google Play Services. --> |
| 9 |
<meta-data android:name="com.google.android.gms.version" |
| 10 |
android:value="@integer/google_play_services_version" /> |
| 11 |
|
| 12 |
<activity android:name="${relativePackage}.${activityClass}" |
| 13 |
<#if isNewProject> |
| 14 |
android:label="@string/app_name" |
| 15 |
<#else> |
| 16 |
android:label="@string/title_${activityToLayout(activityClass)}" |
| 17 |
</#if> |
| 18 |
<#if buildApi gte 16 && parentActivityClass != "">android:parentActivityName="${parentActivityClass}"</#if>> |
| 19 |
<#if parentActivityClass != ""> |
| 20 |
<meta-data android:name="android.support.PARENT_ACTIVITY" |
| 21 |
android:value="${parentActivityClass}" /> |
| 22 |
</#if> |
| 23 |
<#if isLauncher && !(isLibraryProject!false)> |
| 24 |
<intent-filter> |
| 25 |
<action android:name="android.intent.action.MAIN" /> |
| 26 |
<category android:name="android.intent.category.LAUNCHER" /> |
| 27 |
</intent-filter> |
| 28 |
</#if> |
| 29 |
</activity> |
| 30 |
<!--Include the AdActivity configChanges and theme. --> |
| 31 |
<activity android:name="com.google.android.gms.ads.AdActivity" |
| 32 |
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" |
| 33 |
android:theme="@android:style/Theme.Translucent" /> |
| 34 |
</application> |
| 35 |
|
| 36 |
</manifest> |