mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Merge "Fix folder icon text alignment." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
48dbfcd1c8
@@ -196,7 +196,7 @@ public class FolderIcon extends FrameLayout implements FolderListener, IconLabel
|
||||
icon.mFolderName.setText(folderInfo.title);
|
||||
icon.mFolderName.setCompoundDrawablePadding(0);
|
||||
FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams();
|
||||
lp.topMargin = grid.cellYPaddingPx + grid.iconSizePx + grid.iconDrawablePaddingPx;
|
||||
lp.topMargin = grid.iconSizePx + grid.iconDrawablePaddingPx;
|
||||
|
||||
icon.setTag(folderInfo);
|
||||
icon.setOnClickListener(ItemClickHandler.INSTANCE);
|
||||
|
||||
Reference in New Issue
Block a user