Port font manager from v10

This commit is contained in:
Suphon Thanakornpakapong committed 2021-09-09 21:35:09 +07:00
1 parent c2c97f1ede
commit b84364d3dc
19 files changed
+698 -3

No files matched your search

@@ -68,6 +68,7 @@ import com.android.launcher3.views.IconLabelDotView;
import java.text.NumberFormat;
import app.lawnchair.font.FontManager;
import app.lawnchair.util.LawnchairUtilsKt;
/**
@@ -187,6 +188,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
// widget_selection or shortcut_popup
defaultIconSize = grid.iconSizePx;
}
FontManager.INSTANCE.get(context).overrideFont(this, attrs);
mCenterVertically = a.getBoolean(R.styleable.BubbleTextView_centerVertically, false);