Cherish: Qs Transparency Settings

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
spkal01
2022-09-03 17:22:03 +07:00
committed by Hưng Phan
parent 8876155b57
commit 77f5d7091f
2 changed files with 14 additions and 0 deletions

View File

@@ -316,4 +316,8 @@
<!-- Lockscreen battery info --> <!-- Lockscreen battery info -->
<string name="lockscreen_charging_info_title">Show charging info in lockscreen</string> <string name="lockscreen_charging_info_title">Show charging info in lockscreen</string>
<string name="lockscreen_charging_info_summary">Shows temperature, charging current and more while plugged in</string> <string name="lockscreen_charging_info_summary">Shows temperature, charging current and more while plugged in</string>
<!-- QS Transparency -->
<string name="qs_transparency_title">Background transparency</string>
<string name="qs_transparency_summary">Set transparency level for QS background</string>
</resources> </resources>

View File

@@ -21,6 +21,16 @@
<PreferenceCategory <PreferenceCategory
android:title="@string/qs_category"> android:title="@string/qs_category">
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="qs_transparency"
android:title="@string/qs_transparency_title"
android:summary="@string/qs_transparency_summary"
android:defaultValue="100"
settings:interval="1"
settings:units="%"
android:max="100"
android:min="1" />
<ListPreference <ListPreference
android:key="status_bar_quick_qs_pulldown" android:key="status_bar_quick_qs_pulldown"
android:title="@string/status_bar_quick_qs_pulldown" android:title="@string/status_bar_quick_qs_pulldown"