Make preview pager and pager indicator screenreader-enabled

Bug: 27127738
Change-Id: I11a8589f4d8e1f15e895831dc3bd0cb7472e0591
This commit is contained in:
Noah Wang
2016-03-03 20:05:14 -08:00
parent e0255a7197
commit 36e89f644e
8 changed files with 66 additions and 13 deletions

View File

@@ -24,8 +24,7 @@
android:id="@+id/preview_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/colorBackgroundFloating"
android:importantForAccessibility="noHideDescendants"/>
android:background="?android:attr/colorBackgroundFloating" />
<View
android:layout_width="match_parent"

View File

@@ -20,7 +20,8 @@
android:layout_height="match_parent"
android:background="@color/conversation_background"
android:padding="@dimen/conversation_message_list_padding"
android:orientation="vertical" >
android:orientation="vertical"
android:importantForAccessibility="noHideDescendants">
<com.android.settings.display.ConversationMessageView
android:layout_width="match_parent"

View File

@@ -16,4 +16,5 @@
<com.android.settings.display.AppGridView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
android:importantForAccessibility="noHideDescendants" />

View File

@@ -16,7 +16,8 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:importantForAccessibility="noHideDescendants">
<LinearLayout
android:layout_width="@dimen/screen_zoom_preview_app_icon_width"

View File

@@ -18,7 +18,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none"
android:background="?android:attr/colorBackgroundFloating">
android:background="?android:attr/colorBackgroundFloating"
android:importantForAccessibility="noHideDescendants">
<LinearLayout
android:layout_width="match_parent"