aboutsummaryrefslogtreecommitdiffstats
path: root/templates/other/CustomView/root/res/layout/sample.xml.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/other/CustomView/root/res/layout/sample.xml.ftl')
-rwxr-xr-xtemplates/other/CustomView/root/res/layout/sample.xml.ftl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/other/CustomView/root/res/layout/sample.xml.ftl b/templates/other/CustomView/root/res/layout/sample.xml.ftl
new file mode 100755
index 0000000..bdd8c8b
--- /dev/null
+++ b/templates/other/CustomView/root/res/layout/sample.xml.ftl
@@ -0,0 +1,18 @@
+<FrameLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res/${packageName}"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <${packageName}.${viewClass}
+ android:background="#ccc"
+ android:layout_width="300dp"
+ android:layout_height="300dp"
+ android:paddingLeft="20dp"
+ android:paddingBottom="40dp"
+ app:exampleDimension="24sp"
+ app:exampleColor="#33b5e5"
+ app:exampleString="Hello, ${viewClass}"
+ app:exampleDrawable="@android:drawable/ic_menu_add" />
+
+</FrameLayout> \ No newline at end of file