[Android] Audio Browser : Set title on 2 lines

Alexandre Perraud git at videolan.org
Fri Dec 11 10:20:50 CET 2015


vlc-android | branch: 1.7.x | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Dec  9 16:57:30 2015 +0100| [0b7110b3423596afcad52b4af2d74b3f26149080] | committer: Jean-Baptiste Kempf

Audio Browser : Set title on 2 lines

fix #12100

(cherry picked from commit a45915a178e3b600d5af3b7f4f5dc4de1dcf2bd0)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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