diff options
author | Edward Cross <edward.k.cross@gmail.com> | 2018-07-31 15:17:57 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-12-12 15:18:16 +0200 |
commit | 2ff76ca66a76f3efc96198967c3d1c94d2b8de77 (patch) | |
tree | c462dd9ad3c14a3bbcbf1840a989346068807e7f /res | |
parent | c2e244a55e8826fd5262df60e5c35aa324dbc1fa (diff) | |
download | android_packages_apps_Trebuchet-2ff76ca66a76f3efc96198967c3d1c94d2b8de77.tar.gz android_packages_apps_Trebuchet-2ff76ca66a76f3efc96198967c3d1c94d2b8de77.tar.bz2 android_packages_apps_Trebuchet-2ff76ca66a76f3efc96198967c3d1c94d2b8de77.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')
-rw-r--r-- | res/values-ldrtl/lineage_config.xml | 19 | ||||
-rw-r--r-- | res/values/lineage_config.xml | 19 | ||||
-rw-r--r-- | res/values/lineage_strings.xml | 26 | ||||
-rw-r--r-- | res/xml/launcher_preferences.xml | 6 |
4 files changed, 70 insertions, 0 deletions
diff --git a/res/values-ldrtl/lineage_config.xml b/res/values-ldrtl/lineage_config.xml new file mode 100644 index 000000000..7067ca880 --- /dev/null +++ b/res/values-ldrtl/lineage_config.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <string name="pref_show_google_now_summary" translatable="false">@string/msg_minus_one_on_left</string> +</resources> diff --git a/res/values/lineage_config.xml b/res/values/lineage_config.xml new file mode 100644 index 000000000..7067ca880 --- /dev/null +++ b/res/values/lineage_config.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <string name="pref_show_google_now_summary" translatable="false">@string/msg_minus_one_on_left</string> +</resources> diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml new file mode 100644 index 000000000..e5a10302d --- /dev/null +++ b/res/values/lineage_strings.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 The LineageOS Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <!-- Settings --> + + <!-- Settings title to show Google Now at -1 screen on launcher. [CHAR LIMIT=50] --> + <string name="title_show_google_app">Show Google app</string> + <!-- Settings message explaining when the -1 screen is available on an LTR device. [CHAR LIMIT=100] --> + <string name="msg_minus_one_on_left">When you swipe right from main home screen</string> + <!-- Settings message explaining when the -1 screen is available on an RTL device. [CHAR LIMIT=100] --> + <string name="msg_minus_one_on_right">When you swipe left from main home screen</string> +</resources> diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index 3455cb866..f4165c3b2 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -45,6 +45,12 @@ android:persistent="true" /> <SwitchPreference + android:defaultValue="true" + android:key="pref_enable_minus_one" + android:summary="@string/pref_show_google_now_summary" + android:title="@string/title_show_google_app" /> + + <SwitchPreference android:key="pref_grid_options" android:title="Enable grid options" android:defaultValue="false" |