Cherish:Add media art customization in lockscreen

Lockscreen Album Filter: Make LS media filter blur radius configurable[2/2]

Add Lockscreen album art filter [2/2]

SystemUI: Allow to enable Lockscreen Media Art [2/2]

Co-authored-by: beanstown106 <nbenis106@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
eldainosor
2022-08-27 01:32:24 +07:00
committed by Hưng Phan
parent 49c21b2da7
commit 5071deb85f
3 changed files with 60 additions and 0 deletions

View File

@@ -17,5 +17,32 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/lockscreen_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="lockscreen_media_art_options"
android:title="@string/lockscreen_media_art_options_title">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="lockscreen_media_metadata"
android:title="@string/media_art_title"
android:summary="@string/media_art_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingListPreference
android:key="lockscreen_albumart_filter"
android:title="@string/lockscreen_albumart_filter_title"
android:entries="@array/lockscreen_albumart_filter_entries"
android:entryValues="@array/lockscreen_albumart_filter_values"
android:dependency="lockscreen_media_metadata"
android:defaultValue="0" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="ls_media_filter_blur_radius"
android:title="@string/lockscreen_albumart_filter_blur_radius_title"
android:defaultValue="10"
android:max="25"
settings:min="1" />
</PreferenceCategory>
</PreferenceScreen>