diff options
Diffstat (limited to 'templates/projects')
-rw-r--r-- | templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl b/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl index 80895b3..390a9da 100644 --- a/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl +++ b/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl @@ -3,9 +3,9 @@ android:versionCode="1" android:versionName="1.0"> - <uses-sdk android:minSdkVersion="${minApi}" android:targetSdkVersion="${targetApi}" /> + <uses-sdk android:minSdkVersion="${minApi}" <#if buildApi gte 4>android:targetSdkVersion="${targetApi}" </#if>/> - <application android:allowBackup="true" + <application <#if minApiLevel gte 4 && buildApi gte 4>android:allowBackup="true"</#if> android:label="@string/app_name" android:icon="@drawable/ic_launcher"<#if baseTheme != "none"> android:theme="@style/AppTheme"</#if>> |