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: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"

View file

@ -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"