Avoid multiline library badges

Related to #5725
This commit is contained in:
arkon 2021-09-04 18:51:30 -04:00
parent 5ae4621da1
commit bde4c0a648
2 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,7 @@
android:background="?attr/colorTertiary" android:background="?attr/colorTertiary"
android:paddingStart="3dp" android:paddingStart="3dp"
android:paddingTop="1dp" android:paddingTop="1dp"
android:maxLines="1"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:text="@string/local_source_badge" android:text="@string/local_source_badge"
@ -62,6 +63,7 @@
android:background="?attr/colorTertiary" android:background="?attr/colorTertiary"
android:paddingStart="3dp" android:paddingStart="3dp"
android:paddingTop="1dp" android:paddingTop="1dp"
android:maxLines="1"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:textColor="?attr/colorOnTertiary" android:textColor="?attr/colorOnTertiary"
@ -78,6 +80,7 @@
android:paddingStart="3dp" android:paddingStart="3dp"
android:paddingTop="1dp" android:paddingTop="1dp"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:maxLines="1"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:textColor="?attr/colorOnSecondary" android:textColor="?attr/colorOnSecondary"
android:visibility="gone" android:visibility="gone"

View File

@ -48,6 +48,7 @@
android:paddingTop="1dp" android:paddingTop="1dp"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:maxLines="1"
android:text="@string/local_source_badge" android:text="@string/local_source_badge"
android:textColor="?attr/colorOnTertiary" android:textColor="?attr/colorOnTertiary"
android:visibility="gone" android:visibility="gone"
@ -61,6 +62,7 @@
android:background="?attr/colorTertiary" android:background="?attr/colorTertiary"
android:paddingStart="3dp" android:paddingStart="3dp"
android:paddingTop="1dp" android:paddingTop="1dp"
android:maxLines="1"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:textColor="?attr/colorOnTertiary" android:textColor="?attr/colorOnTertiary"
@ -78,6 +80,7 @@
android:paddingTop="1dp" android:paddingTop="1dp"
android:paddingEnd="3dp" android:paddingEnd="3dp"
android:paddingBottom="1dp" android:paddingBottom="1dp"
android:maxLines="1"
android:textColor="?attr/colorOnSecondary" android:textColor="?attr/colorOnSecondary"
android:visibility="gone" android:visibility="gone"
tools:text="120" tools:text="120"