Cherish: Add Lockscreen album art filter [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -1203,4 +1203,21 @@
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Lockscreen album art filter -->
|
||||
<string-array name="lockscreen_albumart_filter_entries">
|
||||
<item>@string/lockscreen_albumart_filter_none</item>
|
||||
<item>@string/lockscreen_albumart_filter_grayscale</item>
|
||||
<item>@string/lockscreen_albumart_filter_tint</item>
|
||||
<item>@string/lockscreen_albumart_filter_blur</item>
|
||||
<item>@string/lockscreen_albumart_filter_grayblur</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="lockscreen_albumart_filter_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -1124,5 +1124,12 @@
|
||||
<string name="statusbar_icons_style_summary">Choose the style of your statusbar icons (requires SystemUI restart)</string>
|
||||
<string name="header_icons_style">Colored Header Icons</string>
|
||||
<string name="header_icons_style_summary">Choose the style of your notification headers icons (requires SystemUI restart)</string>
|
||||
|
||||
|
||||
<!-- Lockscreen album art filter -->
|
||||
<string name="lockscreen_albumart_filter_title">Media cover art filter</string>
|
||||
<string name="lockscreen_albumart_filter_none">None</string>
|
||||
<string name="lockscreen_albumart_filter_grayscale">Grayscale</string>
|
||||
<string name="lockscreen_albumart_filter_tint">Accent tinted</string>
|
||||
<string name="lockscreen_albumart_filter_blur">Blur</string>
|
||||
<string name="lockscreen_albumart_filter_grayblur">Grayscale and blurred</string>
|
||||
</resources>
|
||||
|
||||
@@ -239,6 +239,15 @@
|
||||
android:title="@string/lockscreen_media_art_title"
|
||||
android:summary="@string/lockscreen_media_art_summary"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="lockscreen_albumart_filter"
|
||||
android:title="@string/lockscreen_albumart_filter_title"
|
||||
android:summary="%s"
|
||||
android:entries="@array/lockscreen_albumart_filter_entries"
|
||||
android:entryValues="@array/lockscreen_albumart_filter_values"
|
||||
android:dependency="lockscreen_media_art"
|
||||
android:defaultValue="0" />
|
||||
|
||||
<Preference
|
||||
android:key="keygaurd_batterybar"
|
||||
|
||||
Reference in New Issue
Block a user