aboutsummaryrefslogtreecommitdiffstats
path: root/templates/projects/NewAndroidApplication/template.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/projects/NewAndroidApplication/template.xml')
-rw-r--r--templates/projects/NewAndroidApplication/template.xml60
1 files changed, 60 insertions, 0 deletions
diff --git a/templates/projects/NewAndroidApplication/template.xml b/templates/projects/NewAndroidApplication/template.xml
new file mode 100644
index 0000000..84ba6c7
--- /dev/null
+++ b/templates/projects/NewAndroidApplication/template.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<template
+ name="New Android Application"
+ description="Creates a new Android application with an activity.">
+
+ <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="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="15" />
+
+ <parameter
+ id="copyIcons"
+ name="Include launcher icons"
+ type="boolean"
+ default="true" />
+
+ <globals file="globals.xml.ftl" />
+ <execute file="recipe.xml.ftl" />
+
+</template>