diff options
Diffstat (limited to 'app/src/main/res/layout/dialog_poll_vote.xml')
-rw-r--r-- | app/src/main/res/layout/dialog_poll_vote.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/app/src/main/res/layout/dialog_poll_vote.xml b/app/src/main/res/layout/dialog_poll_vote.xml index 2ce6d32e3..966fb1409 100644 --- a/app/src/main/res/layout/dialog_poll_vote.xml +++ b/app/src/main/res/layout/dialog_poll_vote.xml @@ -56,16 +56,17 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/standard_margin" android:layout_marginEnd="4dp" - android:gravity="end"> + android:orientation="vertical" + android:gravity="center"> <com.google.android.material.button.MaterialButton - android:id="@+id/poll_vote_end_poll_button" - style="@style/Button.Borderless" + android:id="@+id/poll_vote_submit_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/standard_margin" android:minHeight="@dimen/min_size_clickable_area" - android:text="@string/polls_end_poll" + android:minWidth="@dimen/poll_buttons_min_width" + android:text="@string/polls_submit_vote" + android:theme="@style/Button.Primary" app:cornerRadius="@dimen/button_corner_radius" /> <com.google.android.material.button.MaterialButton @@ -73,20 +74,20 @@ style="@style/OutlinedButton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/standard_margin" android:minHeight="@dimen/min_size_clickable_area" + android:minWidth="@dimen/poll_buttons_min_width" android:text="@string/nc_common_dismiss" android:visibility="gone" app:cornerRadius="@dimen/button_corner_radius" tools:visibility="visible" /> <com.google.android.material.button.MaterialButton - android:id="@+id/poll_vote_submit_button" + android:id="@+id/poll_vote_end_poll_button" + style="@style/Button.Borderless" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minHeight="@dimen/min_size_clickable_area" - android:text="@string/polls_submit_vote" - android:theme="@style/Button.Primary" + android:text="@string/polls_end_poll" app:cornerRadius="@dimen/button_corner_radius" /> </LinearLayout> |