From 71b73c57c458269f952de9448c810345c965757b Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 28 Oct 2015 12:08:40 -0700 Subject: Tweak accessibility in for call blocking settings. + Adjust talkback focus to allow the user to page through the cards for the settings and import separately, even though they are structurally part of the same header component, visually they reside in different "cards". + Change the "hide setting" to be toggled by tapping on the text description area. Bug: 25163592 Change-Id: I0d1fcd28dba058d707bfe5099cdf912aed14f728 --- res/layout/blocked_number_header.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'res/layout') diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml index ce1d4feab..29a05bd26 100644 --- a/res/layout/blocked_number_header.xml +++ b/res/layout/blocked_number_header.xml @@ -17,7 +17,8 @@ xmlns:card_view="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" + android:focusable="false"> + android:background="@android:color/white" + android:focusable="true"> + android:layout_marginLeft="40dp" + android:focusable="false" /> @@ -85,7 +89,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:background="@android:color/white"> + android:background="@android:color/white" + android:focusable="true">