diff --git a/app/src/main/res/layout/source_comfortable_grid_item.xml b/app/src/main/res/layout/source_comfortable_grid_item.xml index 5c62463dd..7e9384ace 100644 --- a/app/src/main/res/layout/source_comfortable_grid_item.xml +++ b/app/src/main/res/layout/source_comfortable_grid_item.xml @@ -47,6 +47,7 @@ android:background="?attr/colorTertiary" android:paddingStart="3dp" android:paddingTop="1dp" + android:maxLines="1" android:paddingEnd="3dp" android:paddingBottom="1dp" android:text="@string/local_source_badge" @@ -62,6 +63,7 @@ android:background="?attr/colorTertiary" android:paddingStart="3dp" android:paddingTop="1dp" + android:maxLines="1" android:paddingEnd="3dp" android:paddingBottom="1dp" android:textColor="?attr/colorOnTertiary" @@ -78,6 +80,7 @@ android:paddingStart="3dp" android:paddingTop="1dp" android:paddingEnd="3dp" + android:maxLines="1" android:paddingBottom="1dp" android:textColor="?attr/colorOnSecondary" android:visibility="gone" diff --git a/app/src/main/res/layout/source_compact_grid_item.xml b/app/src/main/res/layout/source_compact_grid_item.xml index 90fcef2b6..daa01553a 100644 --- a/app/src/main/res/layout/source_compact_grid_item.xml +++ b/app/src/main/res/layout/source_compact_grid_item.xml @@ -48,6 +48,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:maxLines="1" android:text="@string/local_source_badge" android:textColor="?attr/colorOnTertiary" android:visibility="gone" @@ -61,6 +62,7 @@ android:background="?attr/colorTertiary" android:paddingStart="3dp" android:paddingTop="1dp" + android:maxLines="1" android:paddingEnd="3dp" android:paddingBottom="1dp" android:textColor="?attr/colorOnTertiary" @@ -78,6 +80,7 @@ android:paddingTop="1dp" android:paddingEnd="3dp" android:paddingBottom="1dp" + android:maxLines="1" android:textColor="?attr/colorOnSecondary" android:visibility="gone" tools:text="120"