[Android] Audio Browser : Set title on 2 lines

Alexandre Perraud git at videolan.org
Wed Dec 9 17:46:38 CET 2015


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Dec  9 16:57:30 2015 +0100| [a45915a178e3b600d5af3b7f4f5dc4de1dcf2bd0] | committer: Alexandre Perraud

Audio Browser : Set title on 2 lines

fix #12100

> https://code.videolan.org/videolan/vlc-android/commit/a45915a178e3b600d5af3b7f4f5dc4de1dcf2bd0
---

 vlc-android/res/layout/audio_browser_item.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/layout/audio_browser_item.xml b/vlc-android/res/layout/audio_browser_item.xml
index b929010..20d72a8 100644
--- a/vlc-android/res/layout/audio_browser_item.xml
+++ b/vlc-android/res/layout/audio_browser_item.xml
@@ -58,9 +58,9 @@
                     android:id="@+id/title"
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
-                    android:singleLine="true"
-                    android:ellipsize="middle"
-                    android:maxLines="1"
+                    android:singleLine="false"
+                    android:ellipsize="end"
+                    android:maxLines="2"
                     android:text="@{media.title ?? item.mTitle}"
                     android:fontFamily="sans-serif-light"
                     android:textColor="?attr/list_title"



More information about the Android mailing list