diff options
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" |