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

Commit c10e75eb authored by Ta-wei Yen's avatar Ta-wei Yen
Browse files

Expand Accessibility selection area for ViewPagerTabs with icon

+ Removed importantForAccessibility="no" from the RelativeLayout

Bug:25719208
Change-Id: I45ab845b83bffca816a7bbaf1d31b8f37f7207eb
parent 643fd007
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/view_pager_tab_background"
    android:importantForAccessibility="no"
    android:layoutDirection="ltr">
    <!-- The tab icon -->
    <ImageView
+1 −2
Original line number Diff line number Diff line
@@ -16,8 +16,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/view_pager_tab_background"
    android:importantForAccessibility="no">
    android:background="@drawable/view_pager_tab_background">
    <!-- The tab icon -->
    <ImageView
        android:id="@+id/icon"