aboutsummaryrefslogtreecommitdiffstats
path: root/templates/other/BlankFragment/recipe.xml.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/other/BlankFragment/recipe.xml.ftl')
-rw-r--r--templates/other/BlankFragment/recipe.xml.ftl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/other/BlankFragment/recipe.xml.ftl b/templates/other/BlankFragment/recipe.xml.ftl
new file mode 100644
index 0000000..add6d27
--- /dev/null
+++ b/templates/other/BlankFragment/recipe.xml.ftl
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<recipe>
+
+ <merge from="res/values/strings.xml" />
+
+ <#if includeLayout>
+ <instantiate from="res/layout/fragment_blank.xml.ftl"
+ to="res/layout/fragment_${classToResource(className)}.xml" />
+
+ <open file="res/layout/fragment_${classToResource(className)}.xml" />
+ </#if>
+
+ <open file="${srcOut}/${className}.java" />
+
+ <instantiate from="src/app_package/BlankFragment.java.ftl"
+ to="${srcOut}/${className}.java" />
+
+</recipe>