Update hotseat cell height calculation.
The hotseat never has text, so we remove the icon drawable padding from the height calculation. This allows the items in the hotseat to be centered vertically properly. Bug: 63996463 Change-Id: Ie0c5706ae6edeafae321ca024c066439d40ca237
This commit is contained in:
@@ -365,7 +365,7 @@ public class DeviceProfile {
|
||||
if (isVerticalBarLayout()) {
|
||||
hotseatBarSizePx = iconSizePx;
|
||||
}
|
||||
hotseatCellHeightPx = iconSizePx + iconDrawablePaddingPx;
|
||||
hotseatCellHeightPx = iconSizePx;
|
||||
|
||||
if (!isVerticalBarLayout()) {
|
||||
int expectedWorkspaceHeight = availableHeightPx - hotseatBarSizePx
|
||||
|
||||
Reference in New Issue
Block a user