diff options
Diffstat (limited to 'templates/projects/NewAndroidApplication')
12 files changed, 0 insertions, 168 deletions
diff --git a/templates/projects/NewAndroidApplication/globals.xml.ftl b/templates/projects/NewAndroidApplication/globals.xml.ftl deleted file mode 100644 index bfc27eb..0000000 --- a/templates/projects/NewAndroidApplication/globals.xml.ftl +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<globals> - <global id="srcOut" value="src/${slashedPackageName(packageName)}" /> -</globals> diff --git a/templates/projects/NewAndroidApplication/recipe.xml.ftl b/templates/projects/NewAndroidApplication/recipe.xml.ftl deleted file mode 100644 index bc8f02e..0000000 --- a/templates/projects/NewAndroidApplication/recipe.xml.ftl +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <instantiate from="AndroidManifest.xml.ftl" /> - -<#if copyIcons> - <copy from="res/drawable-hdpi" /> - <copy from="res/drawable-mdpi" /> - <copy from="res/drawable-xhdpi" /> -</#if> - <instantiate from="res/values/styles.xml.ftl" /> -<#if buildApi gte 11 && baseTheme != "none"> - <instantiate from="res/values-v11/styles_hc.xml.ftl" - to="res/values-v11/styles.xml" /> -</#if> -<#if buildApi gte 14 && baseTheme?contains("darkactionbar")> - <copy from="res/values-v14/styles_ics.xml" - to="res/values-v14/styles.xml" /> -</#if> - - <instantiate from="res/values/strings.xml.ftl" /> -</recipe> diff --git a/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl b/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl deleted file mode 100644 index 390a9da..0000000 --- a/templates/projects/NewAndroidApplication/root/AndroidManifest.xml.ftl +++ /dev/null @@ -1,15 +0,0 @@ -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="${packageName}" - android:versionCode="1" - android:versionName="1.0"> - - <uses-sdk android:minSdkVersion="${minApi}" <#if buildApi gte 4>android:targetSdkVersion="${targetApi}" </#if>/> - - <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>> - - </application> - -</manifest> diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png Binary files differdeleted file mode 100755 index 96a442e..0000000 --- a/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png +++ /dev/null diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png Binary files differdeleted file mode 100755 index 359047d..0000000 --- a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png +++ /dev/null diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png Binary files differdeleted file mode 100755 index 71c6d76..0000000 --- a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png +++ /dev/null diff --git a/templates/projects/NewAndroidApplication/root/res/values-v11/styles_hc.xml.ftl b/templates/projects/NewAndroidApplication/root/res/values-v11/styles_hc.xml.ftl deleted file mode 100644 index f8993c3..0000000 --- a/templates/projects/NewAndroidApplication/root/res/values-v11/styles_hc.xml.ftl +++ /dev/null @@ -1,11 +0,0 @@ -<resources> - - <!-- - Base application theme for API 11+. This theme completely replaces - AppBaseTheme from res/values/styles.xml on API 11+ devices. - --> - <style name="AppBaseTheme" parent="android:Theme.Holo<#if baseTheme?contains("light")>.Light</#if>"> - <!-- API 11 theme customizations can go here. --> - </style> - -</resources> diff --git a/templates/projects/NewAndroidApplication/root/res/values-v14/styles_ics.xml b/templates/projects/NewAndroidApplication/root/res/values-v14/styles_ics.xml deleted file mode 100644 index a91fd03..0000000 --- a/templates/projects/NewAndroidApplication/root/res/values-v14/styles_ics.xml +++ /dev/null @@ -1,12 +0,0 @@ -<resources> - - <!-- - Base application theme for API 14+. This theme completely replaces - AppBaseTheme from BOTH res/values/styles.xml and - res/values-v11/styles.xml on API 14+ devices. - --> - <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar"> - <!-- API 14 theme customizations can go here. --> - </style> - -</resources> diff --git a/templates/projects/NewAndroidApplication/root/res/values/strings.xml.ftl b/templates/projects/NewAndroidApplication/root/res/values/strings.xml.ftl deleted file mode 100644 index ee03444..0000000 --- a/templates/projects/NewAndroidApplication/root/res/values/strings.xml.ftl +++ /dev/null @@ -1,3 +0,0 @@ -<resources> - <string name="app_name">${escapeXmlString(appTitle)}</string> -</resources> diff --git a/templates/projects/NewAndroidApplication/root/res/values/styles.xml.ftl b/templates/projects/NewAndroidApplication/root/res/values/styles.xml.ftl deleted file mode 100644 index 30fe5b5..0000000 --- a/templates/projects/NewAndroidApplication/root/res/values/styles.xml.ftl +++ /dev/null @@ -1,20 +0,0 @@ -<resources> - - <!-- - Base application theme, dependent on API level. This theme is replaced - by AppBaseTheme from res/values-vXX/styles.xml on newer devices. - --> - <style name="AppBaseTheme" parent="android:Theme<#if baseTheme?contains("light")>.Light</#if>"> - <!-- - Theme customizations available in newer API levels can go in - res/values-vXX/styles.xml, while customizations related to - backward-compatibility can go here. - --> - </style> - - <!-- Application theme. --> - <style name="AppTheme" parent="AppBaseTheme"> - <!-- All customizations that are NOT specific to a particular API-level can go here. --> - </style> - -</resources> diff --git a/templates/projects/NewAndroidApplication/template.xml b/templates/projects/NewAndroidApplication/template.xml deleted file mode 100644 index a60cfc6..0000000 --- a/templates/projects/NewAndroidApplication/template.xml +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0"?> -<template - format="1" - revision="1" - name="Android Application" - description="Creates a new Android application."> - <dependency name="android-support-v4" revision="8" /> - - <thumbs> - <thumb>template_new_project.png</thumb> - </thumbs> - - <category value="Applications" /> - - <parameter - id="packageName" - name="Package name" - type="string" - constraints="package" - default="com.mycompany.myapp" /> - - <parameter - id="appTitle" - name="Application title" - type="string" - constraints="nonempty" - default="My Application" /> - - <parameter - id="baseTheme" - name="Base Theme" - type="enum" - default="holo_light_darkactionbar" - help="The base user interface theme for the application"> - <option id="none">None</option> - <option id="holo_dark" minBuildApi="11">Holo Dark</option> - <option id="holo_light" minBuildApi="11">Holo Light</option> - <option id="holo_light_darkactionbar" minBuildApi="14" default="true">Holo Light with Dark Action Bar</option> - </parameter> - - <parameter - id="minApi" - name="Minimum API level" - type="string" - constraints="apilevel" - default="7" /> - - <!-- - Usually the same as minApi, but when minApi is a code name this will be the corresponding - API level - --> - <parameter - id="minApiLevel" - name="Minimum API level" - type="string" - constraints="apilevel" - default="7" /> - - <parameter - id="targetApi" - name="Target API level" - type="string" - constraints="apilevel" - default="16" /> - - <parameter - id="buildApi" - name="Build API level" - type="string" - constraints="apilevel" - default="16" /> - - <parameter - id="copyIcons" - name="Include launcher icons" - type="boolean" - default="true" /> - - <globals file="globals.xml.ftl" /> - <execute file="recipe.xml.ftl" /> - -</template> diff --git a/templates/projects/NewAndroidApplication/template_new_project.png b/templates/projects/NewAndroidApplication/template_new_project.png Binary files differdeleted file mode 100644 index 92e8556..0000000 --- a/templates/projects/NewAndroidApplication/template_new_project.png +++ /dev/null |