PowerMenu: Power menu alpha and dim (2/2)

Commit Original :
Project-Xtended/packages_apps_Xtensions@8c5495c
This commit is contained in:
Hung Phan
2020-04-11 16:54:28 +07:00
parent b6057bf285
commit 33142e3c12
3 changed files with 31 additions and 0 deletions

View File

@@ -17,6 +17,28 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/powermenu_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:title="@string/panel_porn_title">
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
android:key="transparent_power_menu"
android:title="@string/power_menu_transparency"
android:max="100"
android:min="0"
settings:unitsLeft=""
settings:unitsRight="%"
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"
settings:unitsLeft=""
settings:unitsRight="%"
android:defaultValue="50" />
</PreferenceCategory>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:icon="@drawable/ic_recovery"