diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-12-16 11:32:54 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-12-18 17:17:08 -0800 |
commit | 96a0963c4a05c6ef9b1fc9d76e6431c510d48e69 (patch) | |
tree | 8204318122f979e798624fbf8efb7ecc376036eb /res/xml/default_workspace_5x5.xml | |
parent | ffa123769807675869819037676717585d3fe647 (diff) | |
download | android_packages_apps_Trebuchet-96a0963c4a05c6ef9b1fc9d76e6431c510d48e69.tar.gz android_packages_apps_Trebuchet-96a0963c4a05c6ef9b1fc9d76e6431c510d48e69.tar.bz2 android_packages_apps_Trebuchet-96a0963c4a05c6ef9b1fc9d76e6431c510d48e69.zip |
Adding support for negative x and y in layout xml.
Fixing default configurations for some screen sizes.
> Negative values for x and y are parsed as distance from end
column and row respectively. e.g. (-1, -2) => (3, 2) in a
4x4 grid
Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
Diffstat (limited to 'res/xml/default_workspace_5x5.xml')
-rw-r--r-- | res/xml/default_workspace_5x5.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/xml/default_workspace_5x5.xml b/res/xml/default_workspace_5x5.xml index 322661720..f9cc0e789 100644 --- a/res/xml/default_workspace_5x5.xml +++ b/res/xml/default_workspace_5x5.xml @@ -23,7 +23,7 @@ <resolve launcher:screen="0" launcher:x="0" - launcher:y="4" > + launcher:y="-1" > <favorite launcher:uri="#Intent;action=android.intent.action.MAIN;category=android.intent.category.APP_EMAIL;end" /> <favorite launcher:uri="mailto:" /> @@ -32,7 +32,7 @@ <resolve launcher:screen="0" launcher:x="1" - launcher:y="4" > + 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" /> @@ -41,7 +41,7 @@ <resolve launcher:screen="0" launcher:x="4" - launcher:y="4" > + 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> |