Update font settings to match POR
Updates font color, size, weight, and line height for text in the widget picker to match POR and pass a11y test. Bug: 317948371 Flag: NONE Test: Accessibility Scanner contrast test Change-Id: I3c7676c507b81a616876206681972ebb9fefd0c3
This commit is contained in:
1 parent
c113ce9f9f
commit
61dc97ecb2
11 files changed
+140
-32
No files matched your search
@@ -58,12 +58,13 @@ public final class WidgetsRecommendationTableLayout extends TableLayout {
|
||||
|
||||
public WidgetsRecommendationTableLayout(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
// There are 1 row for title, 1 row for dimension and 2 rows for description.
|
||||
// There are 1 row for title, 1 row for dimension and max 3 rows for description.
|
||||
mWidgetsRecommendationTableVerticalPadding = 2 * getResources()
|
||||
.getDimensionPixelSize(R.dimen.widget_recommendations_table_vertical_padding);
|
||||
mWidgetCellVerticalPadding = 2 * getResources()
|
||||
.getDimensionPixelSize(R.dimen.widget_cell_vertical_padding);
|
||||
mWidgetCellTextViewsHeight = 4 * getResources().getDimension(R.dimen.widget_cell_font_size);
|
||||
mWidgetCellTextViewsHeight =
|
||||
getResources().getDimension(R.dimen.widget_cell_title_line_height);
|
||||
}
|
||||
|
||||
/** Sets a {@link android.view.View.OnLongClickListener} for all widget cells in this table. */
|
||||
|
||||
Reference in new issue
Block a user