Debian Codegraph @

templates/activities/AlwaysOnWearActivity/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="2"
5 name="Always On Wear Activity"
6 minApi="20"
7 minBuildApi="20"
8 description="Creates an always on activity for Android Wear">
9
10 <category value="Activity" />
11 <formfactor value="Wear" />
12
13 <parameter
14 id="activityClass"
15 name="Activity Name"
16 type="string"
17 constraints="class|unique|nonempty"
18 suggest="${layoutToActivity(layoutName)}"
19 default="MainActivity"
20 help="The name of the activity class to create" />
21
22 <parameter
23 id="layoutName"
24 name="Layout Name"
25 type="string"
26 constraints="layout|unique|nonempty"
27 suggest="${activityToLayout(activityClass)}"
28 default="activity_main"
29 help="The name of the layout to create for the activity" />
30
31 <parameter
32 id="isLauncher"
33 name="Launcher Activity"
34 type="boolean"
35 default="true"
36 help="If true, this activity will have a CATEGORY_LAUNCHER intent filter, making it the default launchable activity" />
37
38 <parameter
39 id="packageName"
40 name="Package name"
41 type="string"
42 constraints="package"
43 default="com.mycompany.myapp" />
44
45 <!-- 128x128 thumbnails relative to template.xml -->
46 <thumbs>
47 <!-- default thumbnail is required -->
48 <thumb>template_thumb.png</thumb>
49 </thumbs>
50
51 <globals file="globals.xml.ftl" />
52 <execute file="recipe.xml.ftl" />
53
54 </template>