diff options
author | Winson Chung <winsonc@google.com> | 2015-04-08 18:37:21 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-08 18:37:21 +0000 |
commit | b471b0869bc4b0bbcc0dc3a15d3b12ab1b1c0a73 (patch) | |
tree | 3a88e20807d4bcd0ad2e041949382b79c4b74d11 /src/com/android/launcher3/DeviceProfile.java | |
parent | 73621503de4edb5fe4d17f5bf453261e68b88a7f (diff) | |
parent | bd808530dbfa765a33fa4fbfce46d1e0fcfcc5ca (diff) | |
download | android_packages_apps_Trebuchet-b471b0869bc4b0bbcc0dc3a15d3b12ab1b1c0a73.tar.gz android_packages_apps_Trebuchet-b471b0869bc4b0bbcc0dc3a15d3b12ab1b1c0a73.tar.bz2 android_packages_apps_Trebuchet-b471b0869bc4b0bbcc0dc3a15d3b12ab1b1c0a73.zip |
Merge "Temporarily tweaking the all apps layout to fit the screen on tablets." into ub-launcher3-burnaby
Diffstat (limited to 'src/com/android/launcher3/DeviceProfile.java')
-rw-r--r-- | src/com/android/launcher3/DeviceProfile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 73f54ab70..331695acc 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -429,7 +429,7 @@ public class DeviceProfile { int availableAppsWidthPx = (appsContainerViewPx > 0) ? appsContainerViewPx : availableWidthPx; appsViewNumCols = (availableAppsWidthPx - appsViewLeftMarginPx) / - (allAppsCellWidthPx + allAppsCellPaddingPx); + (allAppsCellWidthPx + 2 * allAppsCellPaddingPx); } void updateFromConfiguration(Context context, Resources resources, int wPx, int hPx, |