diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-23 14:25:45 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-24 10:04:49 +0000 |
commit | fff81cad6963dfa977fa8063efa3d29797d9d8c2 (patch) | |
tree | e43abf973d2bdbccf2778df871a554464f5aabc2 /res/xml | |
parent | 10a908a32cab20d5fc0ee944a3b34b98a9648f68 (diff) | |
download | android_packages_apps_Trebuchet-fff81cad6963dfa977fa8063efa3d29797d9d8c2.tar.gz android_packages_apps_Trebuchet-fff81cad6963dfa977fa8063efa3d29797d9d8c2.tar.bz2 android_packages_apps_Trebuchet-fff81cad6963dfa977fa8063efa3d29797d9d8c2.zip |
Launcher actions
Change-Id: Ica0699f99d68b9f89d6f103eaadc56e632d87101
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/default_workspace.xml | 8 | ||||
-rw-r--r-- | res/xml/update_workspace.xml | 37 |
2 files changed, 16 insertions, 29 deletions
diff --git a/res/xml/default_workspace.xml b/res/xml/default_workspace.xml index 4c50d8481..2feb09fca 100644 --- a/res/xml/default_workspace.xml +++ b/res/xml/default_workspace.xml @@ -74,6 +74,14 @@ launcher:screen="1" launcher:x="1" launcher:y="0" /> + <shortcut + launcher:container="-101" + launcher:screen="2" + launcher:x="2" + launcher:y="0" + launcher:icon="@drawable/ic_allapps" + launcher:title="@string/all_apps_button_label" + launcher:uri="#Intent;action=com.cyanogenmod.trebuchet.LAUNCHER_ACTION;category=android.intent.category.HOME;launchFlags=0x10200000;component=com.cyanogenmod.trebuchet/com.cyanogenmod.trebuchet.Launcher;S.android.intent.extra.TEXT=AllApps;end" /> <favorite launcher:packageName="com.android.mms" launcher:className="com.android.mms.ui.ConversationList" diff --git a/res/xml/update_workspace.xml b/res/xml/update_workspace.xml index 5c2547988..768d3ba6b 100644 --- a/res/xml/update_workspace.xml +++ b/res/xml/update_workspace.xml @@ -15,35 +15,14 @@ --> <favorites xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet"> - <!-- Update the db with new hotseat items. Note that we reference the browser's original - package name. --> + <!-- 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" + <shortcut launcher:container="-101" - launcher:screen="0" - launcher:x="0" - launcher:y="0" /> - <favorite - launcher:packageName="com.android.contacts" - launcher:className="com.android.contacts.activities.PeopleActivity" - launcher:container="-101" - launcher:screen="1" - launcher:x="1" - launcher:y="0" /> - <favorite - launcher:packageName="com.android.mms" - launcher:className="com.android.mms.ui.ConversationList" - launcher:container="-101" - launcher:screen="3" - launcher:x="3" - launcher:y="0" /> - <favorite - launcher:packageName="com.android.browser" - launcher:className="com.android.browser.BrowserActivity" - launcher:container="-101" - launcher:screen="4" - launcher:x="4" - launcher:y="0" /> + launcher:screen="2" + launcher:x="2" + launcher:y="0" + launcher:icon="@drawable/ic_allapps" + launcher:title="@string/all_apps_button_label" + launcher:uri="#Intent;action=com.cyanogenmod.trebuchet.LAUNCHER_ACTION;category=android.intent.category.HOME;launchFlags=0x10200000;component=com.cyanogenmod.trebuchet/com.cyanogenmod.trebuchet.Launcher;S.android.intent.extra.TEXT=AllApps;end" /> </favorites> |