在DeviceProfile.updateHotseatIconSize()中修改hotseatBarSizePx的值为0即可;
hotseatCellHeightPx = (int) Math.ceil(hotseatIconSizePx * ICON_OVERLAP_FACTOR);
if (isVerticalBarLayout()) {
- //hotseatBarSizePx = hotseatIconSizePx + hotseatBarSidePaddingStartPx
- // + hotseatBarSidePaddingEndPx;
+ hotseatBarSizePx = 0;
} else {
hotseatBarSizePx = hotseatIconSizePx + hotseatBarTopPaddingPx
+ hotseatBarBottomPaddingPx + (isScalableGrid ? 0 : hotseatExtraVerticalSize)
+ hotseatBarSizeExtraSpacePx;
}
Android12 Launcher3横屏模式下,去掉allapps列表右侧空白
于 2023-07-12 14:19:44 首次发布