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>
49 lines
2.0 KiB
XML
49 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<PreferenceScreen
|
|
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>
|