diff options
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/default_workspace_4x4.xml | 87 | ||||
-rw-r--r-- | res/xml/default_workspace_4x5.xml | 175 | ||||
-rw-r--r-- | res/xml/default_workspace_5x5.xml | 114 | ||||
-rw-r--r-- | res/xml/default_workspace_5x6.xml | 175 | ||||
-rw-r--r-- | res/xml/default_workspace_5x7.xml | 175 | ||||
-rw-r--r-- | res/xml/default_workspace_6x6.xml | 175 | ||||
-rw-r--r-- | res/xml/device_profiles.xml | 79 | ||||
-rw-r--r-- | res/xml/launcher_preferences.xml | 37 |
8 files changed, 897 insertions, 120 deletions
diff --git a/res/xml/default_workspace_4x4.xml b/res/xml/default_workspace_4x4.xml deleted file mode 100644 index bf3c62c77..000000000 --- a/res/xml/default_workspace_4x4.xml +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source 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. ---> - -<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> - - <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> - <!-- Dialer, Messaging, Browser, Camera --> - <resolve - launcher:container="-101" - launcher:screen="0" - launcher:x="0" - launcher:y="0" > - <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> - <favorite launcher:uri="tel:123" /> - <favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" /> - </resolve> - - <resolve - launcher:container="-101" - launcher:screen="1" - launcher:x="1" - launcher:y="0" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MESSAGING;end" /> - <favorite launcher:uri="sms:" /> - <favorite launcher:uri="smsto:" /> - <favorite launcher:uri="mms:" /> - <favorite launcher:uri="mmsto:" /> - </resolve> - - <resolve - launcher:container="-101" - launcher:screen="2" - launcher:x="2" - launcher:y="0" > - <favorite - launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> - <favorite launcher:uri="http://www.example.com/" /> - </resolve> - - <resolve - launcher:container="-101" - launcher:screen="3" - launcher:x="3" - launcher:y="0" > - <favorite launcher:uri="#Intent;action=android.media.action.STILL_IMAGE_CAMERA;end" /> - <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> - </resolve> - - <!-- Bottom row --> - <resolve - launcher:screen="0" - launcher:x="0" - launcher:y="-1" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> - <favorite launcher:uri="mailto:" /> - </resolve> - - <resolve - launcher:screen="0" - launcher:x="1" - launcher:y="-1" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> - <favorite launcher:uri="#Intent;type=images/*;end" /> - </resolve> - - <resolve - launcher:screen="0" - launcher:x="3" - launcher:y="-1" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MARKET;end" /> - <favorite launcher:uri="market://details?id=com.android.launcher" /> - </resolve> - -</favorites> diff --git a/res/xml/default_workspace_4x5.xml b/res/xml/default_workspace_4x5.xml new file mode 100644 index 000000000..347aae038 --- /dev/null +++ b/res/xml/default_workspace_4x5.xml @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> + + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <!-- Dialer, Messaging, Browser, Camera --> + <resolve + launcher:container="-101" + launcher:screen="0" + launcher:x="0" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> + <favorite launcher:uri="tel:123" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="1" + launcher:x="1" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MESSAGING;end" /> + <favorite launcher:uri="sms:" /> + <favorite launcher:uri="smsto:" /> + <favorite launcher:uri="mms:" /> + <favorite launcher:uri="mmsto:" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="2" + launcher:x="2" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_CONTACTS;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="3" + launcher:x="3" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> + <favorite launcher:uri="http://www.example.com/" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="4" + launcher:x="4" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.media.action.STILL_IMAGE_CAMERA;end" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> + </resolve> + + <!-- Screen 0 --> + <appwidget + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="0" + launcher:spanX="4" + launcher:spanY="1" /> + + <appwidget + launcher:packageName="com.android.deskclock" + launcher:className="com.android.alarmclock.DigitalAppWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="1" + launcher:spanX="4" + launcher:spanY="2" /> + + <!-- Google folder --> + <!-- Google, Chrome, Gmail, Maps, YouTube, (Drive), (Music), (Movies), Hangouts, Photos --> + <folder + launcher:title="@string/google_folder_title" + launcher:screen="0" + launcher:x="0" + launcher:y="3"> + <favorite + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchActivity"/> + <favorite + launcher:packageName="com.google.android.gm" + launcher:className="com.google.android.gm.ConversationListActivityGmail"/> + <favorite + launcher:packageName="com.google.android.apps.maps" + launcher:className="com.google.android.maps.MapsActivity"/> + <favorite + launcher:packageName="com.google.android.youtube" + launcher:className="com.google.android.youtube.app.honeycomb.Shell$HomeActivity"/> + <favorite + launcher:packageName="com.google.android.apps.docs" + launcher:className="com.google.android.apps.docs.app.NewMainProxyActivity"/> + <favorite + launcher:packageName="com.google.android.music" + launcher:className="com.android.music.activitymanagement.TopLevelActivity"/> + <favorite + launcher:packageName="com.google.android.videos" + launcher:className="com.google.android.youtube.videos.EntryPoint"/> + <favorite + launcher:packageName="com.google.android.apps.photos" + launcher:className="com.google.android.apps.photos.home.HomeActivity"/> + </folder> + + <favorite + launcher:screen="0" + launcher:x="1" + launcher:y="3" + launcher:packageName="com.google.android.apps.tachyon" + launcher:className="com.google.android.apps.tachyon.MainActivity"/> + + <favorite + launcher:screen="0" + launcher:x="3" + launcher:y="3" + launcher:packageName="com.android.vending" + launcher:className="com.android.vending.AssetBrowserActivity"/> + + <!-- Screen 1 --> + <appwidget + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.appwidgets.AppWidgetLarge" + launcher:screen="1" + launcher:x="0" + launcher:y="0" + launcher:spanX="4" + launcher:spanY="2" /> + + <resolve + launcher:screen="1" + launcher:x="0" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> + <favorite launcher:uri="mailto:" /> + </resolve> + + <resolve + launcher:screen="1" + launcher:x="1" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> + <favorite launcher:uri="#Intent;type=images/*;end" /> + </resolve> + + <favorite + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.ui.activities.HomeActivity" + launcher:screen="1" + launcher:x="2" + launcher:y="-1" /> + + <favorite + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.Settings" + launcher:screen="1" + launcher:x="3" + launcher:y="-1" /> + +</favorites> diff --git a/res/xml/default_workspace_5x5.xml b/res/xml/default_workspace_5x5.xml index ccdde2ca8..88ea47550 100644 --- a/res/xml/default_workspace_5x5.xml +++ b/res/xml/default_workspace_5x5.xml @@ -45,8 +45,7 @@ launcher:screen="2" launcher:x="2" launcher:y="0" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MAPS;end" /> - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MUSIC;end" /> + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_CONTACTS;end" /> </resolve> <resolve @@ -54,8 +53,7 @@ launcher:screen="3" launcher:x="3" launcher:y="0" > - <favorite - launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> <favorite launcher:uri="http://www.example.com/" /> </resolve> @@ -68,30 +66,110 @@ <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> </resolve> - <!-- Bottom row --> - <resolve + <!-- Screen 0 --> + <appwidget + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchWidgetProvider" launcher:screen="0" launcher:x="0" - launcher:y="-1" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> - <favorite launcher:uri="mailto:" /> + launcher:y="0" + launcher:spanX="5" + launcher:spanY="1" /> - </resolve> + <appwidget + launcher:packageName="com.android.deskclock" + launcher:className="com.android.alarmclock.DigitalAppWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="1" + launcher:spanX="5" + launcher:spanY="2" /> - <resolve + <!-- Google Folder --> + <!-- Google, Chrome, Gmail, Maps, YouTube, (Drive), (Music), (Movies), Hangouts, Photos --> + <folder + launcher:title="@string/google_folder_title" + launcher:screen="0" + launcher:x="0" + launcher:y="4"> + <favorite + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchActivity"/> + <favorite + launcher:packageName="com.google.android.gm" + launcher:className="com.google.android.gm.ConversationListActivityGmail"/> + <favorite + launcher:packageName="com.google.android.apps.maps" + launcher:className="com.google.android.maps.MapsActivity"/> + <favorite + launcher:packageName="com.google.android.youtube" + launcher:className="com.google.android.youtube.app.honeycomb.Shell$HomeActivity"/> + <favorite + launcher:packageName="com.google.android.apps.docs" + launcher:className="com.google.android.apps.docs.app.NewMainProxyActivity"/> + <favorite + launcher:packageName="com.google.android.music" + launcher:className="com.android.music.activitymanagement.TopLevelActivity"/> + <favorite + launcher:packageName="com.google.android.videos" + launcher:className="com.google.android.youtube.videos.EntryPoint"/> + <favorite + launcher:packageName="com.google.android.apps.photos" + launcher:className="com.google.android.apps.photos.home.HomeActivity"/> + </folder> + + <favorite launcher:screen="0" launcher:x="1" - launcher:y="-1" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> - <favorite launcher:uri="#Intent;type=images/*;end" /> + launcher:y="4" + launcher:packageName="com.google.android.apps.tachyon" + launcher:className="com.google.android.apps.tachyon.MainActivity"/> + + <favorite + launcher:screen="0" + launcher:x="4" + launcher:y="4" + launcher:packageName="com.android.vending" + launcher:className="com.android.vending.AssetBrowserActivity"/> + + <!-- Screen 1 --> + <appwidget + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.appwidgets.AppWidgetLarge" + launcher:screen="1" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="2" /> + <resolve + launcher:screen="1" + launcher:x="0" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> + <favorite launcher:uri="mailto:" /> </resolve> <resolve - launcher:screen="0" - launcher:x="4" + launcher:screen="1" + launcher:x="1" launcher:y="-1" > - <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MARKET;end" /> - <favorite launcher:uri="market://details?id=com.android.launcher" /> + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> + <favorite launcher:uri="#Intent;type=images/*;end" /> </resolve> + + <favorite + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.ui.activities.HomeActivity" + launcher:screen="1" + launcher:x="2" + launcher:y="-1" /> + + <favorite + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.Settings" + launcher:screen="1" + launcher:x="3" + launcher:y="-1" /> + </favorites> diff --git a/res/xml/default_workspace_5x6.xml b/res/xml/default_workspace_5x6.xml new file mode 100644 index 000000000..9bb6447bd --- /dev/null +++ b/res/xml/default_workspace_5x6.xml @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> + + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <!-- Dialer, Messaging, [Maps/Music], Browser, Camera --> + <resolve + launcher:container="-101" + launcher:screen="0" + launcher:x="0" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> + <favorite launcher:uri="tel:123" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="1" + launcher:x="1" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MESSAGING;end" /> + <favorite launcher:uri="sms:" /> + <favorite launcher:uri="smsto:" /> + <favorite launcher:uri="mms:" /> + <favorite launcher:uri="mmsto:" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="2" + launcher:x="2" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_CONTACTS;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="3" + launcher:x="3" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> + <favorite launcher:uri="http://www.example.com/" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="4" + launcher:x="4" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.media.action.STILL_IMAGE_CAMERA;end" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> + </resolve> + + <!-- Screen 0 --> + <appwidget + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="1" /> + + <appwidget + launcher:packageName="com.android.deskclock" + launcher:className="com.android.alarmclock.DigitalAppWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="1" + launcher:spanX="5" + launcher:spanY="2" /> + + <!-- Google Folder --> + <!-- Google, Chrome, Gmail, Maps, YouTube, (Drive), (Music), (Movies), Hangouts, Photos --> + <folder + launcher:title="@string/google_folder_title" + launcher:screen="0" + launcher:x="0" + launcher:y="5"> + <favorite + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchActivity"/> + <favorite + launcher:packageName="com.google.android.gm" + launcher:className="com.google.android.gm.ConversationListActivityGmail"/> + <favorite + launcher:packageName="com.google.android.apps.maps" + launcher:className="com.google.android.maps.MapsActivity"/> + <favorite + launcher:packageName="com.google.android.youtube" + launcher:className="com.google.android.youtube.app.honeycomb.Shell$HomeActivity"/> + <favorite + launcher:packageName="com.google.android.apps.docs" + launcher:className="com.google.android.apps.docs.app.NewMainProxyActivity"/> + <favorite + launcher:packageName="com.google.android.music" + launcher:className="com.android.music.activitymanagement.TopLevelActivity"/> + <favorite + launcher:packageName="com.google.android.videos" + launcher:className="com.google.android.youtube.videos.EntryPoint"/> + <favorite + launcher:packageName="com.google.android.apps.photos" + launcher:className="com.google.android.apps.photos.home.HomeActivity"/> + </folder> + + <favorite + launcher:screen="0" + launcher:x="1" + launcher:y="5" + launcher:packageName="com.google.android.apps.tachyon" + launcher:className="com.google.android.apps.tachyon.MainActivity"/> + + <favorite + launcher:screen="0" + launcher:x="4" + launcher:y="5" + launcher:packageName="com.android.vending" + launcher:className="com.android.vending.AssetBrowserActivity"/> + + <!-- Screen 1 --> + <appwidget + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.appwidgets.AppWidgetLarge" + launcher:screen="1" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="2" /> + + <resolve + launcher:screen="1" + launcher:x="0" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> + <favorite launcher:uri="mailto:" /> + </resolve> + + <resolve + launcher:screen="1" + launcher:x="1" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> + <favorite launcher:uri="#Intent;type=images/*;end" /> + </resolve> + + <favorite + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.ui.activities.HomeActivity" + launcher:screen="1" + launcher:x="2" + launcher:y="-1" /> + + <favorite + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.Settings" + launcher:screen="1" + launcher:x="3" + launcher:y="-1" /> + +</favorites> diff --git a/res/xml/default_workspace_5x7.xml b/res/xml/default_workspace_5x7.xml new file mode 100644 index 000000000..e0841383f --- /dev/null +++ b/res/xml/default_workspace_5x7.xml @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> + + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <!-- Dialer, Messaging, [Maps/Music], Browser, Camera --> + <resolve + launcher:container="-101" + launcher:screen="0" + launcher:x="0" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> + <favorite launcher:uri="tel:123" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="1" + launcher:x="1" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MESSAGING;end" /> + <favorite launcher:uri="sms:" /> + <favorite launcher:uri="smsto:" /> + <favorite launcher:uri="mms:" /> + <favorite launcher:uri="mmsto:" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="2" + launcher:x="2" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_CONTACTS;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="3" + launcher:x="3" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> + <favorite launcher:uri="http://www.example.com/" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="4" + launcher:x="4" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.media.action.STILL_IMAGE_CAMERA;end" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> + </resolve> + + <!-- Screen 0 --> + <appwidget + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="1" /> + + <appwidget + launcher:packageName="com.android.deskclock" + launcher:className="com.android.alarmclock.DigitalAppWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="1" + launcher:spanX="5" + launcher:spanY="2" /> + + <!-- Google Folder --> + <!-- Google, Chrome, Gmail, Maps, YouTube, (Drive), (Music), (Movies), Hangouts, Photos --> + <folder + launcher:title="@string/google_folder_title" + launcher:screen="0" + launcher:x="0" + launcher:y="6"> + <favorite + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchActivity"/> + <favorite + launcher:packageName="com.google.android.gm" + launcher:className="com.google.android.gm.ConversationListActivityGmail"/> + <favorite + launcher:packageName="com.google.android.apps.maps" + launcher:className="com.google.android.maps.MapsActivity"/> + <favorite + launcher:packageName="com.google.android.youtube" + launcher:className="com.google.android.youtube.app.honeycomb.Shell$HomeActivity"/> + <favorite + launcher:packageName="com.google.android.apps.docs" + launcher:className="com.google.android.apps.docs.app.NewMainProxyActivity"/> + <favorite + launcher:packageName="com.google.android.music" + launcher:className="com.android.music.activitymanagement.TopLevelActivity"/> + <favorite + launcher:packageName="com.google.android.videos" + launcher:className="com.google.android.youtube.videos.EntryPoint"/> + <favorite + launcher:packageName="com.google.android.apps.photos" + launcher:className="com.google.android.apps.photos.home.HomeActivity"/> + </folder> + + <favorite + launcher:screen="0" + launcher:x="1" + launcher:y="6" + launcher:packageName="com.google.android.apps.tachyon" + launcher:className="com.google.android.apps.tachyon.MainActivity"/> + + <favorite + launcher:screen="0" + launcher:x="4" + launcher:y="6" + launcher:packageName="com.android.vending" + launcher:className="com.android.vending.AssetBrowserActivity"/> + + <!-- Screen 1 --> + <appwidget + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.appwidgets.AppWidgetLarge" + launcher:screen="1" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="2" /> + + <resolve + launcher:screen="1" + launcher:x="0" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> + <favorite launcher:uri="mailto:" /> + </resolve> + + <resolve + launcher:screen="1" + launcher:x="1" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> + <favorite launcher:uri="#Intent;type=images/*;end" /> + </resolve> + + <favorite + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.ui.activities.HomeActivity" + launcher:screen="1" + launcher:x="2" + launcher:y="-1" /> + + <favorite + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.Settings" + launcher:screen="1" + launcher:x="3" + launcher:y="-1" /> + +</favorites> diff --git a/res/xml/default_workspace_6x6.xml b/res/xml/default_workspace_6x6.xml new file mode 100644 index 000000000..14fa6b234 --- /dev/null +++ b/res/xml/default_workspace_6x6.xml @@ -0,0 +1,175 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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. +--> + +<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3"> + + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <!-- Dialer, Messaging, [Maps/Music], Browser, Camera --> + <resolve + launcher:container="-101" + launcher:screen="0" + launcher:x="0" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.DIAL;end" /> + <favorite launcher:uri="tel:123" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CALL_BUTTON;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="1" + launcher:x="1" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_MESSAGING;end" /> + <favorite launcher:uri="sms:" /> + <favorite launcher:uri="smsto:" /> + <favorite launcher:uri="mms:" /> + <favorite launcher:uri="mmsto:" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="2" + launcher:x="2" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_CONTACTS;end" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="3" + launcher:x="3" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_BROWSER;end" /> + <favorite launcher:uri="http://www.example.com/" /> + </resolve> + + <resolve + launcher:container="-101" + launcher:screen="4" + launcher:x="4" + launcher:y="0" > + <favorite launcher:uri="#Intent;action=android.media.action.STILL_IMAGE_CAMERA;end" /> + <favorite launcher:uri="#Intent;action=android.intent.action.CAMERA_BUTTON;end" /> + </resolve> + + <!-- Screen 0 --> + <appwidget + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="0" + launcher:spanX="5" + launcher:spanY="1" /> + + <appwidget + launcher:packageName="com.android.deskclock" + launcher:className="com.android.alarmclock.DigitalAppWidgetProvider" + launcher:screen="0" + launcher:x="0" + launcher:y="1" + launcher:spanX="5" + launcher:spanY="2" /> + + <!-- Google Folder --> + <!-- Google, Chrome, Gmail, Maps, YouTube, (Drive), (Music), (Movies), Hangouts, Photos --> + <folder + launcher:title="@string/google_folder_title" + launcher:screen="0" + launcher:x="0" + launcher:y="5"> + <favorite + launcher:packageName="com.google.android.googlequicksearchbox" + launcher:className="com.google.android.googlequicksearchbox.SearchActivity"/> + <favorite + launcher:packageName="com.google.android.gm" + launcher:className="com.google.android.gm.ConversationListActivityGmail"/> + <favorite + launcher:packageName="com.google.android.apps.maps" + launcher:className="com.google.android.maps.MapsActivity"/> + <favorite + launcher:packageName="com.google.android.youtube" + launcher:className="com.google.android.youtube.app.honeycomb.Shell$HomeActivity"/> + <favorite + launcher:packageName="com.google.android.apps.docs" + launcher:className="com.google.android.apps.docs.app.NewMainProxyActivity"/> + <favorite + launcher:packageName="com.google.android.music" + launcher:className="com.android.music.activitymanagement.TopLevelActivity"/> + <favorite + launcher:packageName="com.google.android.videos" + launcher:className="com.google.android.youtube.videos.EntryPoint"/> + <favorite + launcher:packageName="com.google.android.apps.photos" + launcher:className="com.google.android.apps.photos.home.HomeActivity"/> + </folder> + + <favorite + launcher:screen="0" + launcher:x="1" + launcher:y="5" + launcher:packageName="com.google.android.apps.tachyon" + launcher:className="com.google.android.apps.tachyon.MainActivity"/> + + <favorite + launcher:screen="0" + launcher:x="4" + launcher:y="5" + launcher:packageName="com.android.vending" + launcher:className="com.android.vending.AssetBrowserActivity"/> + + <!-- Screen 1 --> + <appwidget + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.appwidgets.AppWidgetLarge" + launcher:screen="1" + launcher:x="0" + launcher:y="0" + launcher:spanX="6" + launcher:spanY="2" /> + + <resolve + launcher:screen="1" + launcher:x="0" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> + <favorite launcher:uri="mailto:" /> + </resolve> + + <resolve + launcher:screen="1" + launcher:x="1" + launcher:y="-1" > + <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_GALLERY;end" /> + <favorite launcher:uri="#Intent;type=images/*;end" /> + </resolve> + + <favorite + launcher:packageName="org.lineageos.eleven" + launcher:className="org.lineageos.eleven.ui.activities.HomeActivity" + launcher:screen="1" + launcher:x="2" + launcher:y="-1" /> + + <favorite + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.Settings" + launcher:screen="1" + launcher:x="3" + launcher:y="-1" /> + +</favorites> diff --git a/res/xml/device_profiles.xml b/res/xml/device_profiles.xml index 82547d521..d05a43f8d 100644 --- a/res/xml/device_profiles.xml +++ b/res/xml/device_profiles.xml @@ -45,19 +45,19 @@ </grid-option> <grid-option - launcher:name="4_by_4" - launcher:numRows="4" + launcher:name="4_by_5" + launcher:numRows="5" launcher:numColumns="4" - launcher:numFolderRows="3" + launcher:numFolderRows="4" launcher:numFolderColumns="4" - launcher:numHotseatIcons="4" - launcher:defaultLayoutId="@xml/default_workspace_4x4" > + launcher:numHotseatIcons="5" + launcher:defaultLayoutId="@xml/default_workspace_4x5" > <display-option launcher:name="Short Stubby" launcher:minWidthDps="275" launcher:minHeightDps="420" - launcher:iconImageSize="48" + launcher:iconImageSize="46" launcher:iconTextSize="13.0" launcher:canBeDefault="true" /> @@ -65,7 +65,7 @@ launcher:name="Stubby" launcher:minWidthDps="255" launcher:minHeightDps="450" - launcher:iconImageSize="48" + launcher:iconImageSize="46" launcher:iconTextSize="13.0" launcher:canBeDefault="true" /> @@ -73,7 +73,7 @@ launcher:name="Nexus S" launcher:minWidthDps="296" launcher:minHeightDps="491.33" - launcher:iconImageSize="48" + launcher:iconImageSize="46" launcher:iconTextSize="13.0" launcher:canBeDefault="true" /> @@ -81,7 +81,7 @@ launcher:name="Nexus 4" launcher:minWidthDps="359" launcher:minHeightDps="567" - launcher:iconImageSize="54" + launcher:iconImageSize="50" launcher:iconTextSize="13.0" launcher:canBeDefault="true" /> @@ -89,7 +89,7 @@ launcher:name="Nexus 5" launcher:minWidthDps="335" launcher:minHeightDps="567" - launcher:iconImageSize="54" + launcher:iconImageSize="50" launcher:iconTextSize="13.0" launcher:canBeDefault="true" /> @@ -122,4 +122,61 @@ </grid-option> -</profiles>
\ No newline at end of file + <grid-option + launcher:name="5_by_6" + launcher:numRows="6" + launcher:numColumns="5" + launcher:numFolderRows="5" + launcher:numFolderColumns="4" + launcher:numHotseatIcons="6" + launcher:defaultLayoutId="@xml/default_workspace_5x6" > + + <display-option + launcher:name="Large Phone" + launcher:minWidthDps="406" + launcher:minHeightDps="694" + launcher:iconImageSize="56" + launcher:iconTextSize="13.0" + launcher:canBeDefault="true" /> + + </grid-option> + + <grid-option + launcher:name="5_by_7" + launcher:numRows="7" + launcher:numColumns="5" + launcher:numFolderRows="6" + launcher:numFolderColumns="4" + launcher:numHotseatIcons="5" + launcher:defaultLayoutId="@xml/default_workspace_5x7" > + + <display-option + launcher:name="Large Phone" + launcher:minWidthDps="406" + launcher:minHeightDps="694" + launcher:iconImageSize="56" + launcher:iconTextSize="13.0" + launcher:canBeDefault="true" /> + + </grid-option> + + <grid-option + launcher:name="6_by_6" + launcher:numRows="6" + launcher:numColumns="6" + launcher:numFolderRows="5" + launcher:numFolderColumns="5" + launcher:numHotseatIcons="6" + launcher:defaultLayoutId="@xml/default_workspace_6x6" > + + <display-option + launcher:name="Large Phone" + launcher:minWidthDps="406" + launcher:minHeightDps="694" + launcher:iconImageSize="48" + launcher:iconTextSize="13.0" + launcher:canBeDefault="true" /> + + </grid-option> + +</profiles> diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index 3455cb866..b9801fe4d 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -17,6 +17,14 @@ <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + <SwitchPreference + android:defaultValue="true" + 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" /> + <com.android.launcher3.settings.NotificationDotsPreference android:key="pref_icon_badging" android:title="@string/notification_dots_title" @@ -45,10 +53,14 @@ android:persistent="true" /> <SwitchPreference - android:key="pref_grid_options" - android:title="Enable grid options" - android:defaultValue="false" - android:persistent="true" /> + android:defaultValue="true" + android:key="pref_enable_minus_one" + android:summary="@string/pref_show_google_now_summary" + android:title="@string/title_show_google_app" /> + + <Preference + android:key="pref_trust_apps" + android:title="@string/trust_apps_manager_name" /> <androidx.preference.PreferenceScreen android:key="pref_developer_options" @@ -56,4 +68,21 @@ android:title="Developer Options" android:fragment="com.android.launcher3.settings.DeveloperOptionsFragment"/> + <SwitchPreference + android:key="pref_desktop_show_labels" + android:title="@string/desktop_show_labels" + android:defaultValue="true" + android:persistent="true" /> + + <SwitchPreference + android:key="pref_drawer_show_labels" + android:title="@string/drawer_show_labels" + android:defaultValue="true" + android:persistent="true" /> + + <SwitchPreference + android:key="pref_show_labels_landscape" + android:title="@string/show_labels_landscape" + android:defaultValue="false" + android:persistent="true" /> </androidx.preference.PreferenceScreen> |