commit | bb60e2e4d74e8bdceee79da29e6e053845b40d16 | [log] [tgz] |
---|---|---|
author | Adam Cohen <adamcohen@google.com> | Tue Apr 26 16:48:26 2011 -0700 |
committer | Adam Cohen <adamcohen@google.com> | Tue Apr 26 16:48:26 2011 -0700 |
tree | a3ff4150e1b54d20510d1d2bd18874c13cf1aa90 | |
parent | 7f4eabe3709a72b416569136e4a095431c493c8b [diff] |
Tiny fix in CellLayout Change-Id: Idc5fcbb7f6e8e2b104fe1eb0e02579e5751214cf
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index 218f3b1..d7a59d6 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java
@@ -853,7 +853,7 @@ int count = getChildCount(); for (int i = 0; i < count; i++) { View child = getChildAt(i); - child.layout(mLeftPadding, mTopPadding, r - mRightPadding , b - mBottomPadding); + child.layout(mLeftPadding, mTopPadding, r - l - mRightPadding , b - t - mBottomPadding); } }