Updating the folder cell dimensions to be closer to a square

Bug: 31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
This commit is contained in:
Sunny Goyal
2016-10-07 13:36:15 -07:00
parent 81300a9f75
commit 68f240eb54
4 changed files with 15 additions and 13 deletions

View File

@@ -284,7 +284,8 @@ public class DeviceProfile {
Utilities.calculateTextHeight(res.getDimension(R.dimen.folder_child_text_size));
final int folderBottomPanelSize =
2 * res.getDimensionPixelSize(R.dimen.folder_label_padding)
res.getDimensionPixelSize(R.dimen.folder_label_padding_top)
+ res.getDimensionPixelSize(R.dimen.folder_label_padding_bottom)
+ Utilities.calculateTextHeight(res.getDimension(R.dimen.folder_label_text_size));
// Don't let the folder get too close to the edges of the screen.