summaryrefslogtreecommitdiff
path: root/templates/other/LayoutResourceFile/template.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/other/LayoutResourceFile/template.xml')
-rw-r--r--templates/other/LayoutResourceFile/template.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/other/LayoutResourceFile/template.xml b/templates/other/LayoutResourceFile/template.xml
new file mode 100644
index 0000000..abca0d2
--- /dev/null
+++ b/templates/other/LayoutResourceFile/template.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<template
+ format="4"
+ revision="1"
+ name="Layout XML File"
+ description="Creates a new XML layout file."
+ >
+
+ <category value="XML" />
+
+ <parameter
+ id="layoutName"
+ name="Layout File Name"
+ type="string"
+ constraints="layout|unique|nonempty"
+ default="layout"
+ help="Name of the layout XML file." />
+
+ <parameter
+ id="rootTag"
+ name="Root Tag"
+ type="string"
+ constraints="nonempty"
+ default="LinearLayout"
+ help="The root XML tag for the new file" />
+
+ <execute file="recipe.xml.ftl" />
+
+</template>