summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authortom79 <tschneider.ac@gmail.com>2019-03-24 18:12:37 +0100
committertom79 <tschneider.ac@gmail.com>2019-03-24 18:12:37 +0100
commitba6753b28481636ddc9a1a5d1f3c4faf23b7124f (patch)
treef6c97f7a6e3924197a7686405b1aeaf8040b3e42 /app/src/main/res/layout
parent13bcdff30b8240e40c1054fc560ce00c6075d131 (diff)
Improve poll layout
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/popup_poll.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/src/main/res/layout/popup_poll.xml b/app/src/main/res/layout/popup_poll.xml
index 5782121fa..df99a33d6 100644
--- a/app/src/main/res/layout/popup_poll.xml
+++ b/app/src/main/res/layout/popup_poll.xml
@@ -20,6 +20,8 @@
android:layout_width="match_parent"
android:orientation="vertical"
+ android:paddingLeft="20dp"
+ android:paddingRight="20dp"
android:layout_height="match_parent">
<EditText
android:id="@+id/choice_1"
@@ -29,6 +31,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
+ android:layout_marginBottom="10dp"
/>
<EditText
android:id="@+id/choice_2"
@@ -38,6 +41,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
+ android:layout_marginBottom="10dp"
/>
<EditText
android:id="@+id/choice_3"
@@ -47,6 +51,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
+ android:layout_marginBottom="10dp"
/>
<EditText
android:id="@+id/choice_4"
@@ -56,6 +61,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
+ android:layout_marginBottom="10dp"
/>
<LinearLayout
android:layout_width="match_parent"
@@ -64,12 +70,12 @@
<Spinner
android:id="@+id/poll_choice"
android:layout_width="0dp"
- android:layout_weight="1"
+ android:layout_weight="3"
android:layout_height="wrap_content"/>
<Spinner
android:id="@+id/poll_duration"
android:layout_width="0dp"
- android:layout_weight="1"
+ android:layout_weight="2"
android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout> \ No newline at end of file