aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-01-23 16:23:23 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-01-23 16:23:23 +0100
commit0569a1e7698141262e3f8443be26b5cb053954b8 (patch)
tree09730b1d8419338270077fa415e7ea846f083fdf /src/main/res/layout
parent39fdf4a333378affcca360886701851d84dd9e0b (diff)
introduced boolean form field wrapper
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/form_boolean.xml13
-rw-r--r--src/main/res/layout/form_text.xml2
2 files changed, 14 insertions, 1 deletions
diff --git a/src/main/res/layout/form_boolean.xml b/src/main/res/layout/form_boolean.xml
new file mode 100644
index 00000000..fd553acb
--- /dev/null
+++ b/src/main/res/layout/form_boolean.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingTop="8dp"
+ android:orientation="vertical">
+ <CheckBox
+ android:id="@+id/field"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeBody"/>
+</LinearLayout> \ No newline at end of file
diff --git a/src/main/res/layout/form_text.xml b/src/main/res/layout/form_text.xml
index e36ac74e..31b521e8 100644
--- a/src/main/res/layout/form_text.xml
+++ b/src/main/res/layout/form_text.xml
@@ -2,12 +2,12 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:paddingTop="8dp"
android:orientation="vertical">
<TextView
android:id="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
android:textColor="@color/black87"
android:textSize="?attr/TextSizeBody"/>