aboutsummaryrefslogtreecommitdiffstats
path: root/templates/activities/MasterDetailFlow/template.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities/MasterDetailFlow/template.xml')
-rw-r--r--templates/activities/MasterDetailFlow/template.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/activities/MasterDetailFlow/template.xml b/templates/activities/MasterDetailFlow/template.xml
new file mode 100644
index 0000000..0eed682
--- /dev/null
+++ b/templates/activities/MasterDetailFlow/template.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<template
+ name="New Master/Detail Flow"
+ description="Creates a new master/detail flow, which is two columns on tablets, and one column on smaller screens. This creates a master fragment, detail fragment, and two activities.">
+
+ <thumbs>
+ <thumb>template_master_detail.png</thumb>
+ </thumbs>
+
+ <category value="Flows" />
+
+ <parameter
+ id="objectKind"
+ name="Object Kind"
+ type="string"
+ constraints="nonempty"
+ default="Item"
+ help="Other examples are 'Person', 'Book', etc." />
+
+ <parameter
+ id="objectKindPlural"
+ name="Object Kind Plural"
+ type="string"
+ constraints="nonempty"
+ default="Items"
+ help="Other examples are 'People', 'Books', etc." />
+
+ <parameter
+ id="appTitle"
+ name="Application title"
+ type="string"
+ constraints="nonempty"
+ default="My Application" />
+
+ <parameter
+ id="packageName"
+ name="Package name"
+ type="string"
+ constraints="package"
+ default="com.mycompany.myapp" />
+
+ <globals file="globals.xml.ftl" />
+ <execute file="recipe.xml.ftl" />
+
+</template> \ No newline at end of file