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 /src/com/android/launcher3/CommonAppTypeParser.java | |
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 'src/com/android/launcher3/CommonAppTypeParser.java')
-rw-r--r-- | src/com/android/launcher3/CommonAppTypeParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/CommonAppTypeParser.java b/src/com/android/launcher3/CommonAppTypeParser.java index 5314ecff1..5ea472640 100644 --- a/src/com/android/launcher3/CommonAppTypeParser.java +++ b/src/com/android/launcher3/CommonAppTypeParser.java @@ -93,7 +93,7 @@ public class CommonAppTypeParser implements LayoutParserCallback { public MyLayoutParser() { super(CommonAppTypeParser.this.mContext, null, CommonAppTypeParser.this, - CommonAppTypeParser.this.mContext.getResources(), mResId, TAG_RESOLVE, 0); + CommonAppTypeParser.this.mContext.getResources(), mResId, TAG_RESOLVE); } @Override |