aboutsummaryrefslogtreecommitdiffstats
path: root/templates/activities/BlankActivity/recipe.xml.ftl
diff options
context:
space:
mode:
authorJosiah Gaskin <josiahgaskin@google.com>2013-07-31 14:21:16 -0700
committerJosiah Gaskin <josiahgaskin@google.com>2013-07-31 14:21:16 -0700
commitf7c5f6b3fb2f6bd820d0d70ec48be12df103cf12 (patch)
tree91e9e7227cc1a79a08edd6f742a918628b08d994 /templates/activities/BlankActivity/recipe.xml.ftl
parentbe3b71eb1f30ebaf063d0df63e1f082844df24a3 (diff)
downloadsdk-f7c5f6b3fb2f6bd820d0d70ec48be12df103cf12.zip
sdk-f7c5f6b3fb2f6bd820d0d70ec48be12df103cf12.tar.gz
sdk-f7c5f6b3fb2f6bd820d0d70ec48be12df103cf12.tar.bz2
Update template location for SDK build
This change removes templates from the SDK source tree (from sdk/templates) and points the build/tools.atree build location file to their new location in tools/base/templates Change-Id: Id37b24eceaae6dcc0b3bf5078a759a337cb13467
Diffstat (limited to 'templates/activities/BlankActivity/recipe.xml.ftl')
-rw-r--r--templates/activities/BlankActivity/recipe.xml.ftl57
1 files changed, 0 insertions, 57 deletions
diff --git a/templates/activities/BlankActivity/recipe.xml.ftl b/templates/activities/BlankActivity/recipe.xml.ftl
deleted file mode 100644
index 1889cdc..0000000
--- a/templates/activities/BlankActivity/recipe.xml.ftl
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0"?>
-<recipe>
- <merge from="AndroidManifest.xml.ftl"
- to="${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
-
- <instantiate from="res/menu/main.xml.ftl"
- to="${escapeXmlAttribute(resOut)}/menu/${menuName}.xml" />
-
- <merge from="res/values/strings.xml.ftl"
- to="${escapeXmlAttribute(resOut)}/values/strings.xml" />
-
- <merge from="res/values/dimens.xml"
- to="${escapeXmlAttribute(resOut)}/values/dimens.xml" />
- <merge from="res/values-sw600dp/dimens.xml"
- to="${escapeXmlAttribute(resOut)}/values-sw600dp/dimens.xml" />
- <merge from="res/values-sw720dp-land/dimens.xml"
- to="${escapeXmlAttribute(resOut)}/values-sw720dp-land/dimens.xml" />
-
- <!-- Decide what kind of layout to add (viewpager or not) -->
- <#if navType?contains("pager")>
- <instantiate from="res/layout/activity_pager.xml.ftl"
- to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
- <instantiate from="res/layout/fragment_dummy.xml.ftl"
- to="${escapeXmlAttribute(resOut)}/layout/fragment_${classToResource(activityClass)}_dummy.xml" />
-
- <#elseif navType == "tabs" || navType == "dropdown">
- <instantiate from="res/layout/activity_fragment_container.xml"
- to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
- <instantiate from="res/layout/fragment_dummy.xml.ftl"
- to="${escapeXmlAttribute(resOut)}/layout/fragment_${classToResource(activityClass)}_dummy.xml" />
-
- <#else>
- <instantiate from="res/layout/activity_simple.xml.ftl"
- to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
- </#if>
-
- <!-- Decide which activity code to add -->
- <#if navType == "none">
- <instantiate from="src/app_package/SimpleActivity.java.ftl"
- to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
-
- <#elseif navType == "tabs_pager" || navType == "pager_strip">
- <instantiate from="src/app_package/TabsAndPagerActivity.java.ftl"
- to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
-
- <#elseif navType == "tabs">
- <instantiate from="src/app_package/TabsActivity.java.ftl"
- to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
-
- <#elseif navType == "dropdown">
- <instantiate from="src/app_package/DropdownActivity.java.ftl"
- to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
-
- </#if>
-
- <open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
-</recipe>