Pimp the power menu out [2/2]

sagarmakhar: migrate to androidx

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Alex Cruz
2017-09-19 19:17:56 +08:00
committed by Hưng Phan
parent ec8d49118f
commit 8e4a68807d
2 changed files with 60 additions and 0 deletions

View File

@@ -130,4 +130,19 @@
<string name="search">Search</string>
<string name="search_apps">Search apps</string>
<!-- Power Menu -->
<string name="power_menu_title">Power menu</string>
<string name="power_menu_title_summary">View or change power menu entries</string>
<string name="powermenu_screenshot">Screenshot</string>
<string name="powermenu_power">Power</string>
<string name="powermenu_advanced">Advanced reboot options</string>
<string name="powermenu_restart">Restart</string>
<string name="powermenu_airplane">Airplane</string>
<string name="powermenu_settings">Settings</string>
<string name="powermenu_lockdown">Lock Down</string>
<string name="powermenu_soundpanel">Sound Panel</string>
<string name="powermenu_users">Users</string>
<string name="powermenu_logout">Logout</string>
<string name="powermenu_emergency">Emergency</string>
</resources>

View File

@@ -17,5 +17,50 @@
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">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_power"
android:title="@string/powermenu_power"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_restart"
android:title="@string/powermenu_restart"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_advanced"
android:title="@string/powermenu_advanced"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_screenshot"
android:title="@string/powermenu_screenshot"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_settings"
android:title="@string/powermenu_settings"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_lockdown"
android:title="@string/powermenu_lockdown"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_emergency"
android:title="@string/powermenu_emergency"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_users"
android:title="@string/powermenu_users"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="powermenu_logout"
android:title="@string/powermenu_logout"
android:defaultValue="false" />
</PreferenceScreen>