Reverting folder cell width on portrait phones.

am: b25e684a76

* commit 'b25e684a766362422f5693f7a2189910c1275584':
  Reverting folder cell width on portrait phones.
This commit is contained in:
Tony Wickham authored and android-build-merger committed 2015-11-12 23:41:06 +00:00
commit 79b4194765
1 file changed
+3 -1
+3 -1
View File
@@ -245,7 +245,9 @@ public class DeviceProfile {
hotseatCellHeightPx = iconSizePx;
// Folder
folderCellWidthPx = Math.min(cellWidthPx + 6 * edgeMarginPx,
int folderCellPadding = isTablet || isLandscape ? 6 * edgeMarginPx : 3 * edgeMarginPx;
// Don't let the folder get too close to the edges of the screen.
folderCellWidthPx = Math.min(cellWidthPx + folderCellPadding,
(availableWidthPx - 4 * edgeMarginPx) / inv.numFolderColumns);
folderCellHeightPx = cellHeightPx + edgeMarginPx;
folderBackgroundOffset = -edgeMarginPx;