diff options
author | Joey <joey@lineageos.org> | 2018-02-04 11:36:32 +0100 |
---|---|---|
committer | Joey <joey@lineageos.org> | 2018-02-05 19:54:40 +0000 |
commit | 1b2f8875b149fa27f80b6945cb51a5476e709a8b (patch) | |
tree | 296e016387f4813a96aca6b6f92d7e60ef7704f9 /res/xml | |
parent | 8463529145791249bb7118fe96482a5e8e58eac4 (diff) | |
download | android_packages_apps_Trebuchet-1b2f8875b149fa27f80b6945cb51a5476e709a8b.tar.gz android_packages_apps_Trebuchet-1b2f8875b149fa27f80b6945cb51a5476e709a8b.tar.bz2 android_packages_apps_Trebuchet-1b2f8875b149fa27f80b6945cb51a5476e709a8b.zip |
Trebuchet: allow disabling workspace edit
Change-Id: I503e19cbc512eac0e4a8c8bccc16a6ccc0e805da
Signed-off-by: Joey <joey@lineageos.org>
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/launcher_preferences.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index 03fc0ed09..45f3b6edc 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -14,6 +14,15 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + <SwitchPreference + android:defaultValue="true" + android:icon="@drawable/ic_settings_edit" + android:key="pref_workspace_edit" + android:persistent="true" + android:title="@string/settings_edit_allow_title" + android:summaryOn="@string/settings_edit_allow_summary_on" + android:summaryOff="@string/settings_edit_allow_summary_off" /> + <PreferenceCategory android:key="category_home" android:title="@string/settings_category_home"> |