diff options
author | tom79 <tschneider.ac@gmail.com> | 2019-04-28 11:15:57 +0200 |
---|---|---|
committer | tom79 <tschneider.ac@gmail.com> | 2019-04-28 11:15:57 +0200 |
commit | 9b102a87a689eda497c8059d70a62d05089ef731 (patch) | |
tree | 4354e2054341507f1d2b869026adc016a4f22d3c /app/src/main/res/layout | |
parent | b968787a92d5a3e51da24a62207bc31f1a995682 (diff) |
Improve polls by allowing more choices
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/layout_poll.xml | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/app/src/main/res/layout/layout_poll.xml b/app/src/main/res/layout/layout_poll.xml index 1fbf58c9e..a2d51e0da 100644 --- a/app/src/main/res/layout/layout_poll.xml +++ b/app/src/main/res/layout/layout_poll.xml @@ -37,32 +37,7 @@ android:layout_height="wrap_content" android:orientation="vertical" tools:ignore="UselessParent"> - <RadioButton - android:id="@+id/r_choice_1" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:checked="false" - /> - <RadioButton - android:id="@+id/r_choice_2" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:checked="false" - /> - <RadioButton - android:id="@+id/r_choice_3" - android:visibility="gone" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:checked="false" - /> - <RadioButton - android:id="@+id/r_choice_4" - android:visibility="gone" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:checked="false" - /> + </RadioGroup> </LinearLayout> <LinearLayout @@ -71,24 +46,6 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content"> - <CheckBox - android:id="@+id/c_choice_1" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - <CheckBox - android:id="@+id/c_choice_2" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - <CheckBox - android:id="@+id/c_choice_3" - android:visibility="gone" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - <CheckBox - android:id="@+id/c_choice_4" - android:visibility="gone" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> </LinearLayout> <LinearLayout |