[Android] Make history item description singleline
Geoffrey Métais
git at videolan.org
Tue Oct 3 16:53:47 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Oct 3 16:42:44 2017 +0200| [500270bd9019165d88a7686b95f573c96006f2f7] | committer: Geoffrey Métais
Make history item description singleline
> https://code.videolan.org/videolan/vlc-android/commit/500270bd9019165d88a7686b95f573c96006f2f7
---
vlc-android/res/layout/history_item.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/res/layout/history_item.xml b/vlc-android/res/layout/history_item.xml
index b99864b59..fe91fbfcf 100644
--- a/vlc-android/res/layout/history_item.xml
+++ b/vlc-android/res/layout/history_item.xml
@@ -56,6 +56,7 @@
android:fontFamily="sans-serif-light"
android:textColor="?attr/list_subtitle"
android:maxLines="1"
+ android:singleLine="true"
android:ellipsize="start"
android:visibility="@{TextUtils.isEmpty(media.artist) ? View.GONE : View.VISIBLE}"
app:layout_constraintBottom_toBottomOf="parent"
More information about the Android
mailing list