Debian Codegraph @

templates/eclipse/activities/MasterDetailFlow/recipe.xml.ftl

raw
1 <?xml version="1.0"?>
2 <recipe>
3 <dependency mavenUrl="com.android.support:support-v4:19.+" />
4
5 <merge from="root/AndroidManifest.xml.ftl"
6 to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
7
8 <merge from="root/res/values-large/refs.xml.ftl"
9 to="${escapeXmlAttribute(resOut)}/values-large/refs.xml" />
10 <merge from="root/res/values-sw600dp/refs.xml.ftl"
11 to="${escapeXmlAttribute(resOut)}/values-sw600dp/refs.xml" />
12 <merge from="root/res/values/strings.xml.ftl"
13 to="${escapeXmlAttribute(resOut)}/values/strings.xml" />
14
15 <instantiate from="root/res/layout/activity_content_detail.xml.ftl"
16 to="${escapeXmlAttribute(resOut)}/layout/activity_${detail_name}.xml" />
17 <instantiate from="root/res/layout/activity_content_list.xml.ftl"
18 to="${escapeXmlAttribute(resOut)}/layout/activity_${collection_name}.xml" />
19 <instantiate from="root/res/layout/activity_content_twopane.xml.ftl"
20 to="${escapeXmlAttribute(resOut)}/layout/activity_${extractLetters(objectKind?lower_case)}_twopane.xml" />
21 <instantiate from="root/res/layout/fragment_content_detail.xml.ftl"
22 to="${escapeXmlAttribute(resOut)}/layout/fragment_${detail_name}.xml" />
23
24 <instantiate from="root/src/app_package/ContentDetailActivity.java.ftl"
25 to="${escapeXmlAttribute(srcOut)}/${DetailName}Activity.java" />
26 <instantiate from="root/src/app_package/ContentDetailFragment.java.ftl"
27 to="${escapeXmlAttribute(srcOut)}/${DetailName}Fragment.java" />
28 <instantiate from="root/src/app_package/ContentListActivity.java.ftl"
29 to="${escapeXmlAttribute(srcOut)}/${CollectionName}Activity.java" />
30 <instantiate from="root/src/app_package/ContentListFragment.java.ftl"
31 to="${escapeXmlAttribute(srcOut)}/${CollectionName}Fragment.java" />
32 <instantiate from="root/src/app_package/dummy/DummyContent.java.ftl"
33 to="${escapeXmlAttribute(srcOut)}/dummy/DummyContent.java" />
34
35 <open file="${escapeXmlAttribute(srcOut)}/${DetailName}Fragment.java" />
36 <open file="${escapeXmlAttribute(resOut)}/layout/fragment_${detail_name}.xml" />
37 </recipe>