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
This commit is contained in:
Yanting Yang
2019-05-24 22:36:32 +08:00
parent 11e4847d61
commit 156b3f3e2d
2 changed files with 7 additions and 2 deletions

View File

@@ -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">

View File

@@ -112,6 +112,11 @@
<item name="*android:lockPatternStyle">@style/LockPatternStyle.Setup</item>
</style>
<style name="GlifV3Theme.Footer" parent="@style/SudThemeGlifV3.DayNight">
<item name="android:clipChildren">true</item>
<item name="android:clipToPadding">true</item>
</style>
<style name="GlifV3Theme.Light" parent="SudThemeGlifV3.Light">
<!-- For all AndroidX Alert Dialogs -->
<item name="alertDialogTheme">@style/GlifV2ThemeAlertDialog.Light</item>