summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-04-26 16:48:26 -0700
committerAdam Cohen <adamcohen@google.com>2011-04-26 16:48:26 -0700
commitbb60e2e4d74e8bdceee79da29e6e053845b40d16 (patch)
treea3ff4150e1b54d20510d1d2bd18874c13cf1aa90 /src
parent7f4eabe3709a72b416569136e4a095431c493c8b (diff)
downloadandroid_packages_apps_Trebuchet-bb60e2e4d74e8bdceee79da29e6e053845b40d16.tar.gz
android_packages_apps_Trebuchet-bb60e2e4d74e8bdceee79da29e6e053845b40d16.tar.bz2
android_packages_apps_Trebuchet-bb60e2e4d74e8bdceee79da29e6e053845b40d16.zip
Tiny fix in CellLayout
Change-Id: Idc5fcbb7f6e8e2b104fe1eb0e02579e5751214cf
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/CellLayout.java2
1 files changed, 1 insertions, 1 deletions
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);
}
}