summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorEdward Cross <edward.k.cross@gmail.com>2018-05-04 17:36:19 +0200
committerEdward Cross <edward.k.cross@gmail.com>2018-07-18 10:57:24 +0200
commita77601a96c9dc0f7489e87a6ab0bb2499b8a9461 (patch)
treea15c9cf7b541b090a56e8ce69a0d805346bc679b /res/xml
parent5dade749cf87d5e048143717bb79d06fe9a0dbf6 (diff)
downloadandroid_packages_apps_Trebuchet-a77601a96c9dc0f7489e87a6ab0bb2499b8a9461.tar.gz
android_packages_apps_Trebuchet-a77601a96c9dc0f7489e87a6ab0bb2499b8a9461.tar.bz2
android_packages_apps_Trebuchet-a77601a96c9dc0f7489e87a6ab0bb2499b8a9461.zip
Launcher3: Google Feed integration
If Google Search is installed, the Google Feed can be found at the -1 screen (which is the very left). This feature is enabled by default. Change-Id: I495196818699fd378cd60e6dd61b07a0ab951762
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/launcher_preferences.xml19
1 files changed, 13 insertions, 6 deletions
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index e9bf50482..4d23cedf9 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -19,15 +19,22 @@
android:icon="@drawable/ic_settings_edit"
android:key="pref_workspace_edit"
android:persistent="true"
- android:title="@string/settings_edit_allow_title"
+ android:summaryOff="@string/settings_edit_allow_summary_off"
android:summaryOn="@string/settings_edit_allow_summary_on"
- android:summaryOff="@string/settings_edit_allow_summary_off" />
+ android:title="@string/settings_edit_allow_title" />
<PreferenceCategory
android:key="category_home"
android:title="@string/settings_category_home">
<SwitchPreference
+ android:defaultValue="true"
+ android:icon="@drawable/ic_settings_feed"
+ android:key="pref_enable_minus_one"
+ android:summary="@string/pref_show_google_now_summary"
+ android:title="@string/title_show_google_app" />
+
+ <SwitchPreference
android:defaultValue="@bool/allow_rotation"
android:icon="@drawable/ic_settings_rotation"
android:key="pref_allowRotation"
@@ -95,16 +102,16 @@
android:icon="@drawable/ic_settings_force_adaptive"
android:key="pref_icon_force_adaptive"
android:persistent="true"
- android:summaryOn="@string/settings_icon_force_adaptive_desc_on"
android:summaryOff="@string/settings_icon_force_adaptive_desc_off"
+ android:summaryOn="@string/settings_icon_force_adaptive_desc_on"
android:title="@string/settings_icon_force_adaptive_title" />
<com.android.launcher3.views.ButtonPreference
+ android:icon="@drawable/ic_settings_notification"
android:key="pref_icon_badging"
- android:title="@string/icon_badging_title"
android:persistent="false"
- android:icon="@drawable/ic_settings_notification"
- android:widgetLayout="@layout/notification_pref_warning" >
+ android:title="@string/icon_badging_title"
+ android:widgetLayout="@layout/notification_pref_warning">
<intent android:action="android.settings.NOTIFICATION_SETTINGS">
<!-- This extra highlights the "Allow icon badges" field in Notification settings -->
<extra