Cherish: GamingMode: Add option for customizing menu opacity [2/3]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Nauval Rizky
2021-08-13 04:21:41 +07:00
committed by Hưng Phan
parent 5040d8afb9
commit 5744d9ddbc
2 changed files with 8 additions and 0 deletions

View File

@@ -1385,5 +1385,6 @@
<string name="gaming_mode_danmaku_speed_horizontal_title">Danmaku speed (horizontal)</string>
<string name="gaming_mode_danmaku_speed_vertical_title">Danmaku speed (vertical)</string>
<string name="gaming_mode_danmaku_blacklist">Blacklist</string>
<string name="gaming_mode_menu_opacity_title">Menu opacity level</string>
</resources>

View File

@@ -53,6 +53,13 @@
android:fragment="com.cherish.settings.fragments.gaming.QuickStartAppSettings"
android:dependency="gaming_mode_enabled" />
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="gaming_mode_menu_opacity"
android:title="@string/gaming_mode_menu_opacity_title"
android:max="100"
settings:min="0"
android:defaultValue="75"/>
<PreferenceCategory
android:title="@string/gaming_mode_performance">