ui: fix ellipsizing of certain textviews

Fix a problem where ellipsizing wouldn't work on the new TextView
styles.
This commit is contained in:
OxygenCobalt
2021-09-21 06:41:35 -06:00
parent 443c26fe98
commit b2ebd92d2a
8 changed files with 10 additions and 8 deletions
@@ -57,6 +57,7 @@
style="@style/Widget.Auxio.TextView.Secondary.Compact"
android:layout_marginStart="@dimen/spacing_small"
android:layout_marginEnd="@dimen/spacing_small"
android:ellipsize="end"
android:text="@{@string/fmt_two(song.album.artist.name, song.album.name)}"
app:layout_constraintBottom_toBottomOf="@+id/playback_cover"
app:layout_constraintEnd_toStartOf="@+id/playback_play_pause"
-1
View File
@@ -72,7 +72,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_small"
android:backgroundTint="?attr/colorAccent"
android:text="@string/lbl_shuffle"
app:layout_constraintBottom_toBottomOf="@+id/detail_play_button"
app:layout_constraintEnd_toEndOf="parent"
+1
View File
@@ -4,6 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="?attr/colorSurface"
android:theme="@style/Theme.Widget">
<ImageView
+1
View File
@@ -4,6 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="?attr/colorSurface"
android:theme="@style/Theme.Widget">
<ImageView