5 name="Navigation Drawer Activity"
8 description="Creates a new Activity with a Navigation Drawer.">
10 <category value="Activity" />
11 <formfactor value="Mobile" />
17 constraints="class|unique|nonempty"
18 suggest="${layoutToActivity(layoutName)}"
19 default="MainActivity"
20 help="The name of the activity class to create" />
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" />
32 id="fragmentLayoutName"
33 name="Fragment Layout Name"
35 constraints="layout|unique|nonempty"
36 suggest="fragment_${classToResource(activityClass)}"
37 default="fragment_main"
38 help="The name of the layout to create for the activity's content fragment"/>
44 constraints="nonempty"
45 default="MainActivity"
46 suggest="${activityClass}"
47 help="The name of the activity. For launcher activities, the application title." />
51 name="Launcher Activity"
54 help="If true, this activity will have a CATEGORY_LAUNCHER intent filter, making it visible in the launcher" />
57 id="parentActivityClass"
58 name="Hierarchical Parent"
60 constraints="activity|exists|empty"
62 help="The hierarchical parent activity, used to provide a default implementation for the 'Up' button" />
69 default="com.mycompany.myapp" />
72 id="navigationDrawerLayout"
73 name="Navigation Drawer Fragment Name"
75 constraints="layout|unique"
76 default="fragment_navigation_drawer"/>
78 <!-- 128x128 thumbnails relative to template.xml -->
80 <!-- default thumbnail is required -->
81 <thumb>template_blank_activity_drawer.png</thumb>
84 <globals file="globals.xml.ftl" />
85 <execute file="recipe.xml.ftl" />