mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Merge "Folder cell should match grid cell aspect ratio if isScalableGrid is true." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f072b062a2
@@ -212,7 +212,10 @@ public class CellLayout extends ViewGroup {
|
||||
mActivity = ActivityContext.lookupContext(context);
|
||||
DeviceProfile deviceProfile = mActivity.getDeviceProfile();
|
||||
|
||||
mBorderSpacing = deviceProfile.cellLayoutBorderSpacingPx;
|
||||
mBorderSpacing = mContainerType == FOLDER
|
||||
? deviceProfile.folderCellLayoutBorderSpacingPx
|
||||
: deviceProfile.cellLayoutBorderSpacingPx;
|
||||
|
||||
mCellWidth = mCellHeight = -1;
|
||||
mFixedCellWidth = mFixedCellHeight = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user