Update KQS text font family to match new specs
Flag: com.android.launcher3.expressive_theme_in_taskbar_and_navigation Fixes: 393615634 Test: opened KQS, be before/after in bug Change-Id: Ia953e2b927b6e69c0c150df01925436b6247d751
This commit is contained in:
1 parent
743786b66c
commit
0ae28ca5d0
4 files changed
+65
-5
No files matched your search
@@ -104,9 +104,18 @@ public class KeyboardQuickSwitchTaskView extends ConstraintLayout {
|
||||
mIcon2 = findViewById(R.id.icon_2);
|
||||
mContent = findViewById(R.id.content);
|
||||
|
||||
Resources resources = mContext.getResources();
|
||||
|
||||
Preconditions.assertNotNull(mContent);
|
||||
|
||||
TypefaceUtils.setTypeface(
|
||||
mContent.findViewById(R.id.large_text),
|
||||
TypefaceUtils.FONT_FAMILY_HEADLINE_LARGE_EMPHASIZED
|
||||
);
|
||||
TypefaceUtils.setTypeface(
|
||||
mContent.findViewById(R.id.small_text),
|
||||
TypefaceUtils.FONT_FAMILY_LABEL_LARGE_BASELINE
|
||||
);
|
||||
|
||||
Resources resources = mContext.getResources();
|
||||
mBorderAnimator = BorderAnimator.createScalingBorderAnimator(
|
||||
/* borderRadiusPx= */ mBorderRadius != INVALID_BORDER_RADIUS
|
||||
? mBorderRadius
|
||||
|
||||
Reference in new issue
Block a user