Debian Codegraph @

templates/activities/FullscreenActivity/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="6"
5 name="Fullscreen Activity"
6 description="Creates a new activity that toggles the visibility of the system UI (status and navigation bars) and action bar upon user interaction."
7 requireAppTheme="true"
8 minApi="11"
9 minBuildApi="16">
10 <dependency name="android-support-v4" revision="8" />
11 <category value="Activity" />
12 <formfactor value="Mobile" />
13
14 <parameter
15 id="activityClass"
16 name="Activity Name"
17 type="string"
18 constraints="class|unique|nonempty"
19 default="FullscreenActivity"
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_fullscreen"
29 help="The name of the layout to create for the activity" />
30
31 <parameter
32 id="activityTitle"
33 name="Title"
34 type="string"
35 constraints="nonempty"
36 default="FullscreenActivity"
37 suggest="${activityClass}"
38 help="The name of the activity." />
39
40 <parameter
41 id="isLauncher"
42 name="Launcher Activity"
43 type="boolean"
44 default="false"
45 help="If true, this activity will have a CATEGORY_LAUNCHER intent filter, making it visible in the launcher" />
46
47 <parameter
48 id="parentActivityClass"
49 name="Hierarchical Parent"
50 type="string"
51 constraints="activity|exists|empty"
52 default=""
53 help="The hierarchical parent activity, used to provide a default implementation for the 'Up' button" />
54
55 <parameter
56 id="packageName"
57 name="Package name"
58 type="string"
59 constraints="package"
60 default="com.mycompany.myapp" />
61
62 <thumbs>
63 <thumb>template_fullscreen_activity.png</thumb>
64 </thumbs>
65
66 <globals file="globals.xml.ftl" />
67 <execute file="recipe.xml.ftl" />
68
69 </template>