Debian Codegraph @

templates/eclipse/other/ListFragment/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="4"
4 revision="2"
5 name="Fragment (List)"
6 description="Creates a new empty fragment containing a list that can optionally change to a grid when on large screens. Compatible back to API level 4."
7 minApi="7"
8 minBuildApi="8">
9
10 <category value="Fragment" />
11
12 <dependency name="android-support-v4" revision="8" />
13
14 <parameter
15 id="packageName"
16 name="Package name"
17 type="string"
18 constraints="package"
19 default="com.mycompany.myapp" />
20
21 <parameter
22 id="objectKind"
23 name="Object Kind"
24 type="string"
25 constraints="nonempty"
26 default="Item"
27 help="Other examples are 'Person', 'Book', etc." />
28
29 <parameter
30 id="includeFactory"
31 name="Include fragment factory methods?"
32 type="boolean"
33 default="true"
34 help="Generate static fragment factory methods for easy instantiation" />
35
36 <parameter
37 id="switchGrid"
38 name="Switch to grid view on large screens?"
39 type="boolean"
40 default="true" />
41
42 <!-- 128x128 thumbnails relative to template.xml -->
43 <thumbs>
44 <!-- default thumbnail is required -->
45 <thumb>templates_list_fragment.png</thumb>
46 </thumbs>
47
48
49 <globals file="globals.xml.ftl" />
50 <execute file="recipe.xml.ftl" />
51
52 </template>