Cherish: Power/reboot menu transparency (1/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -669,4 +669,9 @@
|
||||
<string name="qs_set_animation_style">%1$s</string>
|
||||
<string name="qs_set_animation_duration">%1$s</string>
|
||||
<string name="qs_set_animation_interpolator">%1$s</string>
|
||||
|
||||
<!-- Power menu and dialogs opacity -->
|
||||
<string name="power_menu_transparency">Power/reboot menu opacity</string>
|
||||
<string name="power_menu_dialog_dim">Power/reboot dialog dim background amount</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -18,6 +18,20 @@
|
||||
android:title="@string/powermenu_title"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||
android:key="transparent_power_menu"
|
||||
android:title="@string/power_menu_transparency"
|
||||
android:max="100"
|
||||
android:min="0"
|
||||
android:defaultValue="100" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||
android:key="transparent_power_dialog_dim"
|
||||
android:title="@string/power_menu_dialog_dim"
|
||||
android:max="100"
|
||||
android:min="0"
|
||||
android:defaultValue="50" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="powermenu_power"
|
||||
android:title="@string/powermenu_power"
|
||||
|
||||
Reference in New Issue
Block a user