Cherish:Add Lockscreen album art filter [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -531,5 +531,22 @@
|
||||
<item>0</item>
|
||||
<item>1</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>
|
||||
|
||||
@@ -625,5 +625,13 @@
|
||||
<string name="lockscreen_media_category">Lock screen media</string>
|
||||
<string name="media_art_title">Media cover art</string>
|
||||
<string name="media_art_summary">Enable media cover art on the lockscreen</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>
|
||||
|
||||
@@ -56,6 +56,14 @@
|
||||
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" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user