mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
pin button sizes to min clickable size
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
bb425ef759
commit
5bae24213e
@ -19,11 +19,11 @@
|
|||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
android:orientation="vertical"
|
||||||
tools:background="@color/white"
|
tools:background="@color/white">
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/poll_results_list_wrapper"
|
android:id="@+id/poll_results_list_wrapper"
|
||||||
@ -46,17 +46,19 @@
|
|||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/poll_results_end_poll_button"
|
android:id="@+id/poll_results_end_poll_button"
|
||||||
|
style="@style/OutlinedButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/polls_end_poll"
|
|
||||||
style="@style/OutlinedButton"
|
|
||||||
android:layout_marginEnd="@dimen/standard_margin"
|
android:layout_marginEnd="@dimen/standard_margin"
|
||||||
|
android:minHeight="@dimen/min_size_clickable_area"
|
||||||
|
android:text="@string/polls_end_poll"
|
||||||
app:cornerRadius="@dimen/button_corner_radius" />
|
app:cornerRadius="@dimen/button_corner_radius" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/edit_vote_button"
|
android:id="@+id/edit_vote_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:minHeight="@dimen/min_size_clickable_area"
|
||||||
android:text="@string/polls_edit_vote"
|
android:text="@string/polls_edit_vote"
|
||||||
android:theme="@style/Button.Primary"
|
android:theme="@style/Button.Primary"
|
||||||
app:cornerRadius="@dimen/button_corner_radius" />
|
app:cornerRadius="@dimen/button_corner_radius" />
|
||||||
|
@ -59,20 +59,22 @@
|
|||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/poll_vote_end_poll_button"
|
android:id="@+id/poll_vote_end_poll_button"
|
||||||
|
style="@style/OutlinedButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/polls_end_poll"
|
|
||||||
style="@style/OutlinedButton"
|
|
||||||
android:layout_marginEnd="@dimen/standard_margin"
|
android:layout_marginEnd="@dimen/standard_margin"
|
||||||
|
android:minHeight="@dimen/min_size_clickable_area"
|
||||||
|
android:text="@string/polls_end_poll"
|
||||||
app:cornerRadius="@dimen/button_corner_radius" />
|
app:cornerRadius="@dimen/button_corner_radius" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/poll_vote_edit_dismiss"
|
android:id="@+id/poll_vote_edit_dismiss"
|
||||||
|
style="@style/OutlinedButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/nc_common_dismiss"
|
|
||||||
style="@style/OutlinedButton"
|
|
||||||
android:layout_marginEnd="@dimen/standard_margin"
|
android:layout_marginEnd="@dimen/standard_margin"
|
||||||
|
android:minHeight="@dimen/min_size_clickable_area"
|
||||||
|
android:text="@string/nc_common_dismiss"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:cornerRadius="@dimen/button_corner_radius"
|
app:cornerRadius="@dimen/button_corner_radius"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
@ -81,6 +83,7 @@
|
|||||||
android:id="@+id/poll_vote_submit_button"
|
android:id="@+id/poll_vote_submit_button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:minHeight="@dimen/min_size_clickable_area"
|
||||||
android:text="@string/polls_submit_vote"
|
android:text="@string/polls_submit_vote"
|
||||||
android:theme="@style/Button.Primary"
|
android:theme="@style/Button.Primary"
|
||||||
app:cornerRadius="@dimen/button_corner_radius" />
|
app:cornerRadius="@dimen/button_corner_radius" />
|
||||||
|
Loading…
Reference in New Issue
Block a user