Temporarily tweaking the all apps layout to fit the screen on tablets.

Change-Id: I2f8fe8e39a39cd6a055f22696881c51be7624832
This commit is contained in:
Winson Chung committed 2015-04-08 11:10:12 -07:00
1 parent adb7541648
commit bd808530db
4 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -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,