Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / tools / templates / activities / LoginActivity / template.xml
blob03ea755ef552218773b051bc9d7a3bf9ef8f65b7
1 <?xml version="1.0"?>
2 <template
3     format="4"
4     revision="5"
5     name="Login Activity"
6     description="Creates a new login activity, allowing users to optionally sign in with Google+ or enter an email address and password to log in to or register with your application."
7     minApi="8"
8     minBuildApi="14">
10     <dependency name="android-support-v4" revision="8" />
12     <category value="Activity" />
13     <formfactor value="Mobile" />
15     <parameter
16         id="activityClass"
17         name="Activity Name"
18         type="string"
19         constraints="class|unique|nonempty"
20         default="LoginActivity"
21         help="The name of the activity class to create" />
23     <parameter
24         id="layoutName"
25         name="Layout Name"
26         type="string"
27         constraints="layout|unique|nonempty"
28         suggest="${activityToLayout(activityClass)}"
29         default="activity_login"
30         help="The name of the layout to create for the activity" />
32     <parameter
33         id="activityTitle"
34         name="Title"
35         type="string"
36         constraints="nonempty"
37         default="Sign in"
38         help="The name of the activity." />
40     <parameter
41         id="parentActivityClass"
42         name="Hierarchical Parent"
43         type="string"
44         constraints="activity|exists|empty"
45         default=""
46         help="The hierarchical parent activity, used to provide a default implementation for the 'Up' button" />
48     <parameter
49         id="packageName"
50         name="Package name"
51         type="string"
52         constraints="package"
53         default="com.mycompany.myapp" />
55     <parameter
56         id="includeGooglePlus"
57         name="Include Google+ sign in"
58         type="boolean"
59         default="true" />
61     <thumbs>
62         <thumb>template_login_activity.png</thumb>
63     </thumbs>
65     <globals file="globals.xml.ftl" />
66     <execute file="recipe.xml.ftl" />
68 </template>