Debian Codegraph @

templates/activities/GoogleMapsWearActivity/template.xml

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