From 9420b750d26aa341f77d6a35d876931009809142 Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 25 Feb 2022 18:08:29 -0500 Subject: [PATCH] Adjust badge font weights --- .../main/res/layout/global_search_controller_card_item.xml | 1 + app/src/main/res/layout/source_grid_item_badges.xml | 5 +++++ app/src/main/res/layout/source_list_item.xml | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/app/src/main/res/layout/global_search_controller_card_item.xml b/app/src/main/res/layout/global_search_controller_card_item.xml index 6b097b0a4..9acf49483 100644 --- a/app/src/main/res/layout/global_search_controller_card_item.xml +++ b/app/src/main/res/layout/global_search_controller_card_item.xml @@ -54,6 +54,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" android:text="@string/in_library" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnSecondary" diff --git a/app/src/main/res/layout/source_grid_item_badges.xml b/app/src/main/res/layout/source_grid_item_badges.xml index ddc11d8ed..622abb77d 100644 --- a/app/src/main/res/layout/source_grid_item_badges.xml +++ b/app/src/main/res/layout/source_grid_item_badges.xml @@ -23,6 +23,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" android:text="@string/local_source_badge" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnTertiary" @@ -39,6 +40,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-medium" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnTertiary" android:visibility="gone" @@ -55,6 +57,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-medium" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnSecondary" android:visibility="gone" @@ -71,6 +74,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" android:text="@string/in_library" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnSecondary" @@ -100,6 +104,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnTertiary" android:visibility="gone" diff --git a/app/src/main/res/layout/source_list_item.xml b/app/src/main/res/layout/source_list_item.xml index 7a1c2b33e..03221dc01 100644 --- a/app/src/main/res/layout/source_list_item.xml +++ b/app/src/main/res/layout/source_list_item.xml @@ -58,6 +58,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" android:text="@string/local_source_badge" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnTertiary" @@ -74,6 +75,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-medium" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnTertiary" android:visibility="gone" @@ -90,6 +92,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-medium" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnSecondary" android:visibility="gone" @@ -106,6 +109,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" android:text="@string/in_library" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnSecondary" @@ -122,6 +126,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:fontFamily="sans-serif-condensed" tools:text="EN" android:textAppearance="?attr/textAppearanceBodySmall" android:textColor="?attr/colorOnTertiary"