Debian Codegraph @

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

raw
1 <?xml version="1.0"?>
2 <recipe>
3
4 <#if appCompat><dependency mavenUrl="com.android.support:appcompat-v7:19.+"/></#if>
5
6 <merge from="root/AndroidManifest.xml.ftl"
7 to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
8
9 <instantiate from="root/res/menu/main.xml.ftl"
10 to="${escapeXmlAttribute(resOut)}/menu/${menuName}.xml" />
11
12 <merge from="root/res/values/strings.xml.ftl"
13 to="${escapeXmlAttribute(resOut)}/values/strings.xml" />
14
15 <merge from="root/res/values/dimens.xml.ftl"
16 to="${escapeXmlAttribute(resOut)}/values/dimens.xml" />
17 <merge from="root/res/values-w820dp/dimens.xml"
18 to="${escapeXmlAttribute(resOut)}/values-w820dp/dimens.xml" />
19
20 <instantiate from="root/res/layout/activity_fragment_container.xml.ftl"
21 to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
22
23 <instantiate from="root/res/layout/fragment_simple.xml.ftl"
24 to="${escapeXmlAttribute(resOut)}/layout/${fragmentLayoutName}.xml" />
25
26 <instantiate from="root/src/app_package/SimpleActivity.java.ftl"
27 to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
28
29 <open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
30 <open file="${escapeXmlAttribute(resOut)}/layout/${fragmentLayoutName}.xml" />
31 </recipe>