Debian Codegraph @

templates/activities/AlwaysOnWearActivity/recipe.xml.ftl

raw
1 <?xml version="1.0"?>
2 <recipe>
3
4 <merge from="root/AndroidManifest.xml.ftl"
5 to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
6 <merge from="root/AndroidManifestPermissions.xml"
7 to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
8 <#if appManifestOut??>
9 <merge from="root/AndroidManifestPermissions.xml"
10 to="${escapeXmlAttribute(appManifestOut)}/AndroidManifest.xml" />
11 </#if>
12
13 <merge from="root/res/values/strings.xml.ftl"
14 to="${escapeXmlAttribute(resOut)}/values/strings.xml" />
15
16 <merge from="root/build.gradle.ftl"
17 to="${escapeXmlAttribute(projectOut)}/build.gradle" />
18
19 <instantiate from="root/res/layout/blank_activity.xml.ftl"
20 to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
21
22 <instantiate from="root/src/app_package/BlankActivity.java.ftl"
23 to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
24
25 <open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
26 <open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
27 </recipe>