parent
1a1c49f4c0
commit
69e7bb8a13
|
@ -69,7 +69,7 @@ public class QsbLayout extends FrameLayout implements
|
|||
DeviceProfile dp = ActivityContext.lookupContext(mContext).getDeviceProfile();
|
||||
int cellWidth = DeviceProfile.calculateCellWidth(requestedWidth, dp.cellLayoutBorderSpacePx.x, dp.numShownHotseatIcons);
|
||||
int iconSize = (int)(Math.round((dp.iconSizePx * 0.92f)));
|
||||
int width = requestedWidth;
|
||||
int width = requestedWidth + (cellWidth - iconSize);
|
||||
setMeasuredDimension(width, height);
|
||||
|
||||
for (int i = 0; i < getChildCount(); i++) {
|
||||
|
|
Loading…
Reference in New Issue