Debian Codegraph @

templates/eclipse/activities/BlankActivity/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_simple.xml.ftl"
21 to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
22
23 <instantiate from="root/src/app_package/SimpleActivity.java.ftl"
24 to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
25
26 <open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
27 <open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
28 </recipe>