Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 156b3f3e authored by Yanting Yang's avatar Yanting Yang
Browse files

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
parent 11e4847d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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">

+6 −1
Original line number Diff line number Diff line
@@ -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>