mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
make avatar buttons clickable min-sized for a11y
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
07620f3a65
commit
6bc007151a
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ededed" />
|
||||
<corners android:radius="15dp" />
|
||||
<corners android:radius="24dp" />
|
||||
</shape>
|
||||
|
@ -78,8 +78,8 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/avatar_upload"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_width="@dimen/min_size_clickable_area"
|
||||
android:layout_height="@dimen/min_size_clickable_area"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"
|
||||
android:background="@drawable/round_corner"
|
||||
@ -89,8 +89,8 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/avatar_choose"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_width="@dimen/min_size_clickable_area"
|
||||
android:layout_height="@dimen/min_size_clickable_area"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"
|
||||
android:background="@drawable/round_corner"
|
||||
@ -100,8 +100,8 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/avatar_delete"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_width="@dimen/min_size_clickable_area"
|
||||
android:layout_height="@dimen/min_size_clickable_area"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"
|
||||
android:background="@drawable/round_corner"
|
||||
|
Loading…
Reference in New Issue
Block a user