Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75671357 authored by Tony Huang's avatar Tony Huang
Browse files

Update touchable UI to fix a11y spec

Some touchable components like button or chip not fix a11y
touch area spec, increase layout size to fit spec.

Fix: 123161626
Test: atest DocumentsUIGoogleTests
Test: manual use a11y scanner to check it
Change-Id: Icf8b79f053928b0ab6500b77d37ae485cffd33d9
parent 7083e997
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
        <com.android.documentsui.DropdownBreadcrumb
            android:id="@+id/dropdown_breadcrumb"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_height="match_parent"
            android:layout_marginStart="4dp"
            android:popupTheme="?actionBarPopupTheme"
            android:background="@android:color/transparent"
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
            <com.android.documentsui.DropdownBreadcrumb
                android:id="@+id/dropdown_breadcrumb"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginStart="4dp"
                android:popupTheme="?actionBarPopupTheme"
                android:background="@android:color/transparent"
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@
                android:id="@+id/horizontal_breadcrumb"
                android:layout_marginRight="20dp"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />
                android:layout_height="match_parent" />

        </androidx.appcompat.widget.Toolbar>

+2 −2
Original line number Diff line number Diff line
@@ -73,8 +73,8 @@

    <FrameLayout
        android:id="@+id/action_icon_area"
        android:layout_width="@dimen/icon_size"
        android:layout_height="@dimen/icon_size"
        android:layout_width="@dimen/button_touch_size"
        android:layout_height="@dimen/button_touch_size"
        android:paddingEnd="@dimen/grid_padding_horiz"
        android:duplicateParentState="true"
        android:visibility="gone">
+1 −0
Original line number Diff line number Diff line
@@ -30,4 +30,5 @@
    app:chipStrokeWidth="1dp"
    app:iconStartPadding="@dimen/search_chip_icon_padding"
    app:rippleColor="@color/search_chip_ripple_color"
    app:chipMinTouchTargetSize="@dimen/button_touch_size"
/>
 No newline at end of file
Loading