aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-01-22 20:22:47 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-01-22 20:22:47 +0100
commita6c5430cdd400389a311ea9c2ab8a6fabc2f72c5 (patch)
tree7000a4465102bbdfd04977f93b0408abb899afcd /src/main/res/layout
parenta47430c2f73714f832c5a4d75668044425e0d606 (diff)
added UI wrapper for (some) form fields
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/form_text.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/res/layout/form_text.xml b/src/main/res/layout/form_text.xml
new file mode 100644
index 00000000..e36ac74e
--- /dev/null
+++ b/src/main/res/layout/form_text.xml
@@ -0,0 +1,21 @@
+<?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: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"/>
+
+ <EditText
+ android:id="@+id/field"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textColor="@color/black87"
+ android:textColorHint="@color/black54"
+ android:textSize="?attr/TextSizeBody"/>
+</LinearLayout> \ No newline at end of file