summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-04-08 11:07:53 -0700
committerWinson Chung <winsonc@google.com>2015-04-08 11:10:12 -0700
commitbd808530dbfa765a33fa4fbfce46d1e0fcfcc5ca (patch)
treeec0f3285dd26a9f16cbea293da2a51efe45eedbb /src
parentadb75416488f04c237b724f30deeb7f6e3fe8a52 (diff)
downloadandroid_packages_apps_Trebuchet-bd808530dbfa765a33fa4fbfce46d1e0fcfcc5ca.tar.gz
android_packages_apps_Trebuchet-bd808530dbfa765a33fa4fbfce46d1e0fcfcc5ca.tar.bz2
android_packages_apps_Trebuchet-bd808530dbfa765a33fa4fbfce46d1e0fcfcc5ca.zip
Temporarily tweaking the all apps layout to fit the screen on tablets.
Change-Id: I2f8fe8e39a39cd6a055f22696881c51be7624832
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index b4d225e8b..2d07b8436 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,