From bb60e2e4d74e8bdceee79da29e6e053845b40d16 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Tue, 26 Apr 2011 16:48:26 -0700 Subject: Tiny fix in CellLayout Change-Id: Idc5fcbb7f6e8e2b104fe1eb0e02579e5751214cf --- src/com/android/launcher2/CellLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index 218f3b1f0..d7a59d607 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -853,7 +853,7 @@ public class CellLayout extends ViewGroup { 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); } } -- cgit v1.2.3