GAR - Update AllApps text color and font
Update color to onSurface. And font to google sans (flex) which in this case should be variable-title-small since the textsize is 14sp. bug:418937498 Test manually: Before DT: https://hsv.googleplex.com/4949187362816000 Before LT: https://hsv.googleplex.com/5152308714274816 After DT: https://hsv.googleplex.com/6619686841090048 After LT: https://hsv.googleplex.com/6278208621117440 Flag: EXEMPT bug fix Change-Id: Ib0225bcef38353c451e8fdffefcba97655f97ef1
This commit is contained in:
1 parent
f899589251
commit
b024e4d5c5
1 file changed
+3
-2
@@ -89,7 +89,7 @@ public class AppsDividerView extends View implements FloatingHeaderRow {
|
||||
mStrokeColor = Flags.allAppsBlur()
|
||||
? Themes.getAttrColor(context, R.attr.bottomSheetDragHandleColor)
|
||||
: context.getColor(R.color.materialColorOutlineVariant);
|
||||
mAllAppsLabelTextColor = context.getColor(R.color.materialColorOnSurfaceVariant);
|
||||
mAllAppsLabelTextColor = context.getColor(R.color.materialColorOnSurface);
|
||||
|
||||
mAccessibilityManager = AccessibilityManager.getInstance(context);
|
||||
setShowAllAppsLabel(!ALL_APPS_VISITED_COUNT.hasReachedMax(context));
|
||||
@@ -214,7 +214,8 @@ public class AppsDividerView extends View implements FloatingHeaderRow {
|
||||
private Layout getAllAppsLabelLayout() {
|
||||
if (mAllAppsLabelLayout == null) {
|
||||
mPaint.setAntiAlias(true);
|
||||
mPaint.setTypeface(Typeface.create("google-sans", Typeface.NORMAL));
|
||||
mPaint.setTypeface(Typeface.create(Flags.gsfRes() ? "variable-title-small"
|
||||
: "google-sans", Typeface.NORMAL));
|
||||
mPaint.setTextSize(
|
||||
getResources().getDimensionPixelSize(R.dimen.all_apps_label_text_size));
|
||||
|
||||
|
||||
Reference in new issue
Block a user