Cherish: Add support for UI Styles

Not a great previewer but for now it'll do the work

[nurkeinneid]:
- adapt to our ThemeUtils
- restore original copyright header - crdroid did nothing here

Change-Id: I432578a4b3c652d7ad3e00a93e11bfb3e199b4a5
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
El Dainosor
2022-08-23 02:38:17 -03:00
committed by Hưng Phan
parent 48d035e6c8
commit 0bb076c36a
3 changed files with 274 additions and 0 deletions

View File

@@ -59,6 +59,12 @@
android:summary="@string/dark_ui_mode_summary"
android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment"
settings:controller="com.android.settings.display.DarkUIPreferenceController" />
<Preference
android:key="android.theme.customization.style"
android:title="@string/theme_customization_ui_style_title"
android:summary="@string/theme_customization_ui_style_summary"
android:fragment="com.cherish.settings.fragments.ui.UIStyles"/>
<!-- QS style -->
<com.cherish.settings.preferences.SystemSettingListPreference