1 <?xml version="1.0"?> 2 <template 3 format="1" 4 revision="1" 5 name="Android Application" 6 description="Creates a new Android application."> 7 <dependency name="android-support-v4" revision="8" /> 8 9 <thumbs> 10 <thumb>template_new_project.png</thumb> 11 </thumbs> 12 13 <category value="Applications" /> 14 15 <parameter 16 id="packageName" 17 name="Package name" 18 type="string" 19 constraints="package" 20 default="com.mycompany.myapp" /> 21 22 <parameter 23 id="appTitle" 24 name="Application title" 25 type="string" 26 constraints="nonempty" 27 default="My Application" /> 28 29 <parameter 30 id="baseTheme" 31 name="Base Theme" 32 type="enum" 33 default="holo_light_darkactionbar" 34 help="The base user interface theme for the application"> 35 <option id="none">None</option> 36 <option id="holo_dark" minBuildApi="11">Holo Dark</option> 37 <option id="holo_light" minBuildApi="11">Holo Light</option> 38 <option id="holo_light_darkactionbar" minBuildApi="14" default="true">Holo Light with Dark Action Bar</option> 39 </parameter> 40 41 <parameter 42 id="minApi" 43 name="Minimum API level" 44 type="string" 45 constraints="apilevel" 46 default="7" /> 47 48 <!-- 49 Usually the same as minApi, but when minApi is a code name this will be the corresponding 50 API level 51 --> 52 <parameter 53 id="minApiLevel" 54 name="Minimum API level" 55 type="string" 56 constraints="apilevel" 57 default="7" /> 58 59 <parameter 60 id="targetApi" 61 name="Target API level" 62 type="string" 63 constraints="apilevel" 64 default="16" /> 65 66 <parameter 67 id="buildApi" 68 name="Build API level" 69 type="string" 70 constraints="apilevel" 71 default="16" /> 72 73 <parameter 74 id="copyIcons" 75 name="Include launcher icons" 76 type="boolean" 77 default="true" /> 78 79 <globals file="globals.xml.ftl" /> 80 <execute file="recipe.xml.ftl" /> 81 82 </template> 83