From 30516e1f6c43648340bf3a0980d2a34d1110e541 Mon Sep 17 00:00:00 2001 From: Beth Thibodeau Date: Mon, 15 Jun 2020 14:47:24 -0400 Subject: Screen record a11y fixes Audio switch: add content description, minimum width, and fix weights so that is visible in largest display size Make panel scrollable so that everything can be viewed in landscape mode Fixes: 153606009 Fixes: 153521498 Fixes: 153619008 Fixes: 153617098 Test: manual Change-Id: I72a5299b57eb4d03795db5dcd4892dca2d681f84 --- .../SystemUI/res/layout/screen_record_dialog.xml | 209 +++++++++++---------- 1 file changed, 112 insertions(+), 97 deletions(-) diff --git a/packages/SystemUI/res/layout/screen_record_dialog.xml b/packages/SystemUI/res/layout/screen_record_dialog.xml index fd9936f6b8ea..acef94315e91 100644 --- a/packages/SystemUI/res/layout/screen_record_dialog.xml +++ b/packages/SystemUI/res/layout/screen_record_dialog.xml @@ -20,111 +20,126 @@ android:orientation="vertical" android:background="@drawable/rounded_bg_full"> - - + - - - + android:layout_height="wrap_content"> - - - - - + android:orientation="vertical"> - - - + + android:layout_height="match_parent" + android:orientation="vertical" + android:gravity="center" + android:padding="@dimen/screenrecord_dialog_padding"> + + + - - + + + + + + - - + + + - - -