aboutsummaryrefslogtreecommitdiffstats
path: root/templates/activities/MasterDetailFlow/recipe.xml.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities/MasterDetailFlow/recipe.xml.ftl')
-rw-r--r--templates/activities/MasterDetailFlow/recipe.xml.ftl31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/activities/MasterDetailFlow/recipe.xml.ftl b/templates/activities/MasterDetailFlow/recipe.xml.ftl
new file mode 100644
index 0000000..a07635e
--- /dev/null
+++ b/templates/activities/MasterDetailFlow/recipe.xml.ftl
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<recipe>
+ <merge from="AndroidManifest.xml.ftl" />
+
+ <copy from="${android.templatesRes}/android-support-v4.jar.bin"
+ to="libs/android-support-v4.jar" />
+
+ <merge from="res/values-large/refs.xml.ftl" />
+ <merge from="res/values-sw600dp/refs.xml.ftl" />
+ <merge from="res/values/strings.xml.ftl" />
+
+ <instantiate from="res/layout/activity_content_detail.xml.ftl"
+ to="res/layout/activity_${detail_name}.xml" />
+ <instantiate from="res/layout/activity_content_list.xml.ftl"
+ to="res/layout/activity_${collection_name}.xml" />
+ <instantiate from="res/layout/activity_content_twopane.xml.ftl"
+ to="res/layout/activity_${objectKind?lower_case}_twopane.xml" />
+ <instantiate from="res/layout/fragment_content_detail.xml.ftl"
+ to="res/layout/fragment_${detail_name}.xml" />
+
+ <instantiate from="src/app_package/ContentDetailActivity.java.ftl"
+ to="${srcOut}/${DetailName}Activity.java" />
+ <instantiate from="src/app_package/ContentDetailFragment.java.ftl"
+ to="${srcOut}/${DetailName}Fragment.java" />
+ <instantiate from="src/app_package/ContentListActivity.java.ftl"
+ to="${srcOut}/${CollectionName}Activity.java" />
+ <instantiate from="src/app_package/ContentListFragment.java.ftl"
+ to="${srcOut}/${CollectionName}Fragment.java" />
+ <instantiate from="src/app_package/dummy/DummyContent.java.ftl"
+ to="${srcOut}/dummy/DummyContent.java" />
+</recipe>