From 156b3f3e2d3296c36f71eaf54cc8cc37454eb293 Mon Sep 17 00:00:00 2001 From: Yanting Yang Date: Fri, 24 May 2019 22:36:32 +0800 Subject: [PATCH] Fix transparent view issue in page "Erase all data" This issue was impacted by edge-to-edge changed b/132182711, that disabled android:clipToPadding and android:clipChildren from Theme.Settings. Add a customized theme to enable them for GlifLayout to fix transparent issue. Fixes: 133451030 Test: visual Change-Id: Id5a69c937a291eec10fc6255607632e877f8a8ce --- res/layout/master_clear.xml | 2 +- res/values/themes_suw.xml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/res/layout/master_clear.xml b/res/layout/master_clear.xml index bf22b88f802..04c8f8dbe7e 100644 --- a/res/layout/master_clear.xml +++ b/res/layout/master_clear.xml @@ -21,7 +21,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:theme="@style/SudThemeGlifV3.DayNight" + android:theme="@style/GlifV3Theme.Footer" android:icon="@drawable/ic_delete_accent" app:sucHeaderText="@string/master_clear_title"> diff --git a/res/values/themes_suw.xml b/res/values/themes_suw.xml index add2fedf1f1..f7f1d16bb8b 100644 --- a/res/values/themes_suw.xml +++ b/res/values/themes_suw.xml @@ -112,6 +112,11 @@ @style/LockPatternStyle.Setup + + - \ No newline at end of file +