diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-04-07 05:28:46 +0200 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2014-01-30 08:13:43 +0200 |
commit | cebd8d4ed0486127dc997e1b2ca25a173df3e4d1 (patch) | |
tree | 6bcf3cd8c40f02ca6dc0277702803a7cba72ea84 /res/xml-sw720dp | |
parent | 6883ecbecf469a196c5d2b0b3cca60abcd9be642 (diff) | |
download | android_packages_apps_Trebuchet-cebd8d4ed0486127dc997e1b2ca25a173df3e4d1.tar.gz android_packages_apps_Trebuchet-cebd8d4ed0486127dc997e1b2ca25a173df3e4d1.tar.bz2 android_packages_apps_Trebuchet-cebd8d4ed0486127dc997e1b2ca25a173df3e4d1.zip |
Trebuchet: Default workspace fixes
* Replace AnalogClockWidget by cLock Widget
* Add "no telephony" workspaces files. New favorites:
- Phone -> Email
- Contacts -> Calendar
- Mms -> Contacts
- Browser -> Browser
* Add sw600dp and sw700dp update workspaces files
Change-Id: I41e81f908339b68df8109611c88ee092b4ab7b9d
Diffstat (limited to 'res/xml-sw720dp')
-rw-r--r-- | res/xml-sw720dp/default_workspace.xml | 10 | ||||
-rw-r--r-- | res/xml-sw720dp/default_workspace_no_telephony.xml | 96 | ||||
-rw-r--r-- | res/xml-sw720dp/update_workspace.xml | 53 | ||||
-rw-r--r-- | res/xml-sw720dp/update_workspace_no_telephony.xml | 53 |
4 files changed, 207 insertions, 5 deletions
diff --git a/res/xml-sw720dp/default_workspace.xml b/res/xml-sw720dp/default_workspace.xml index 1c1d70e92..c5de7b151 100644 --- a/res/xml-sw720dp/default_workspace.xml +++ b/res/xml-sw720dp/default_workspace.xml @@ -29,13 +29,13 @@ <!-- Middle screen [2] --> <appwidget - launcher:packageName="com.android.deskclock" - launcher:className="com.android.alarmclock.AnalogAppWidgetProvider" + launcher:packageName="com.cyanogenmod.lockclock" + launcher:className="com.cyanogenmod.lockclock.ClockWidgetProvider" launcher:screen="2" - launcher:x="1" + launcher:x="0" launcher:y="0" - launcher:spanX="2" - launcher:spanY="2" /> + launcher:spanX="3" + launcher:spanY="4" /> <favorite launcher:packageName="com.android.camera" launcher:className="com.android.camera.Camera" diff --git a/res/xml-sw720dp/default_workspace_no_telephony.xml b/res/xml-sw720dp/default_workspace_no_telephony.xml new file mode 100644 index 000000000..34f8af445 --- /dev/null +++ b/res/xml-sw720dp/default_workspace_no_telephony.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The CyanogenMod 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/com.cyanogenmod.trebuchet"> + <!-- Far-left screen [0] --> + + <!-- Left screen [1] --> + <appwidget + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.widget.SettingsAppWidgetProvider" + launcher:screen="1" + launcher:x="0" + launcher:y="3" + launcher:spanX="4" + launcher:spanY="1" /> + + <!-- Middle screen [2] --> + <appwidget + launcher:packageName="com.cyanogenmod.lockclock" + launcher:className="com.cyanogenmod.lockclock.ClockWidgetProvider" + launcher:screen="2" + launcher:x="0" + launcher:y="0" + launcher:spanX="3" + launcher:spanY="4" /> + <favorite + launcher:packageName="com.android.camera" + launcher:className="com.android.camera.Camera" + launcher:screen="2" + launcher:x="0" + launcher:y="3" /> + + <!-- Right screen [3] --> + <favorite + launcher:packageName="com.android.gallery3d" + launcher:className="com.android.gallery3d.app.Gallery" + launcher:screen="3" + launcher:x="1" + launcher:y="3" /> + <favorite + launcher:packageName="com.android.settings" + launcher:className="com.android.settings.Settings" + launcher:screen="3" + launcher:x="2" + launcher:y="3" /> + + <!-- Far-right screen [4] --> + + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <favorite + launcher:packageName="com.android.email" + launcher:className="com.android.email.activity.Welcome" + launcher:container="-101" + launcher:screen="0" + launcher:x="2" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.calendar" + launcher:className="com.android.calendar.AllInOneActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="3" + launcher:y="0" /> + <allapps + launcher:container="-101" + launcher:screen="0" + launcher:x="4" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.contacts" + launcher:className="com.android.contacts.activities.PeopleActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="5" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.browser" + launcher:className="com.android.browser.BrowserActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="6" + launcher:y="0" /> +</favorites> diff --git a/res/xml-sw720dp/update_workspace.xml b/res/xml-sw720dp/update_workspace.xml new file mode 100644 index 000000000..1962389cb --- /dev/null +++ b/res/xml-sw720dp/update_workspace.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The CyanogenMod 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/com.cyanogenmod.trebuchet"> + <!-- Update the db with new hotseat all apps button. --> + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <favorite + launcher:packageName="com.android.contacts" + launcher:className="com.android.contacts.activities.DialtactsActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="2" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.contacts" + launcher:className="com.android.contacts.activities.PeopleActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="3" + launcher:y="0" /> + <allapps + launcher:container="-101" + launcher:screen="0" + launcher:x="4" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.mms" + launcher:className="com.android.mms.ui.ConversationList" + launcher:container="-101" + launcher:screen="0" + launcher:x="5" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.browser" + launcher:className="com.android.browser.BrowserActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="6" + launcher:y="0" /> +</favorites> diff --git a/res/xml-sw720dp/update_workspace_no_telephony.xml b/res/xml-sw720dp/update_workspace_no_telephony.xml new file mode 100644 index 000000000..d01697eea --- /dev/null +++ b/res/xml-sw720dp/update_workspace_no_telephony.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The CyanogenMod 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/com.cyanogenmod.trebuchet"> + <!-- Update the db with new hotseat all apps button. --> + <!-- Hotseat (We use the screen as the position of the item in the hotseat) --> + <favorite + launcher:packageName="com.android.email" + launcher:className="com.android.email.activity.Welcome" + launcher:container="-101" + launcher:screen="0" + launcher:x="2" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.calendar" + launcher:className="com.android.calendar.AllInOneActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="3" + launcher:y="0" /> + <allapps + launcher:container="-101" + launcher:screen="0" + launcher:x="4" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.contacts" + launcher:className="com.android.contacts.activities.PeopleActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="5" + launcher:y="0" /> + <favorite + launcher:packageName="com.android.browser" + launcher:className="com.android.browser.BrowserActivity" + launcher:container="-101" + launcher:screen="0" + launcher:x="6" + launcher:y="0" /> +</favorites> |