From 2f2bd9a8f845535b6ecbf1b28aecdbd0ff3bbc63 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Thu, 4 Jun 2015 18:11:14 -0700 Subject: Expand scrim all the way to the right Fixes a bug where the scrim would not cover the area occupied by the nav bar which looks weird when the nav bar is hidden. Bug: 19582019 Change-Id: I7d96ca46a41ec764984be5fe42d225cb94f53497 --- packages/SystemUI/res/layout/super_status_bar.xml | 10 ++++++++-- packages/SystemUI/res/values/attrs.xml | 4 ++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'packages/SystemUI/res') diff --git a/packages/SystemUI/res/layout/super_status_bar.xml b/packages/SystemUI/res/layout/super_status_bar.xml index 03b6dca..e42ce66 100644 --- a/packages/SystemUI/res/layout/super_status_bar.xml +++ b/packages/SystemUI/res/layout/super_status_bar.xml @@ -20,6 +20,7 @@ @@ -29,6 +30,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" + sysui:ignoreRightInset="true" > + android:importantForAccessibility="no" + sysui:ignoreRightInset="true" + /> + android:importantForAccessibility="no" + sysui:ignoreRightInset="true" + /> diff --git a/packages/SystemUI/res/values/attrs.xml b/packages/SystemUI/res/values/attrs.xml index 24f92ef..354b70b 100644 --- a/packages/SystemUI/res/values/attrs.xml +++ b/packages/SystemUI/res/values/attrs.xml @@ -82,5 +82,9 @@ + + + + -- cgit v1.1