From 93ec5312c53295872e33daaa8cb4134795c7e75c Mon Sep 17 00:00:00 2001 From: Noah Wang Date: Wed, 14 Sep 2016 16:40:05 -0700 Subject: [PATCH] Disable accessibility focus on the instruction video in magnification gesture screen. Test: Manually built and tested with Bullhead Bug: 30898790 Change-Id: I399e2b9be33ebf6dd5100705eb5f2ba5c5cc98b1 --- res/layout/video_preference.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/res/layout/video_preference.xml b/res/layout/video_preference.xml index 5f7116dd92..fe7f26fe2d 100644 --- a/res/layout/video_preference.xml +++ b/res/layout/video_preference.xml @@ -24,13 +24,15 @@ android:layout_height="wrap_content" android:src="@drawable/accessibility_screen_magnification_background" android:scaleType="fitXY" - android:adjustViewBounds="true" /> + android:adjustViewBounds="true" + android:importantForAccessibility="noHideDescendants" /> + android:layout_centerHorizontal="true" + android:importantForAccessibility="noHideDescendants" /> \ No newline at end of file -- 2.11.0