[Android] Marquee titles on TV
Geoffrey Métais
git at videolan.org
Thu Jan 5 15:23:02 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 5 15:22:37 2017 +0100| [f4351a301e03da6f1b9885a252a533399fa95542] | committer: Geoffrey Métais
Marquee titles on TV
> https://code.videolan.org/videolan/vlc-android/commit/f4351a301e03da6f1b9885a252a533399fa95542
---
vlc-android/res/values/styles.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 36fda1b..471de56 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -182,8 +182,9 @@
</style>
<style name="VLCardViewTitleStyle" parent="Widget.Leanback.ImageCardView.TitleStyle">
- <item name="android:lines">2</item>
- <item name="android:gravity">center_vertical</item>
+ <item name="android:scrollHorizontally">true</item>
+ <item name="android:singleLine">true</item>
+ <item name="android:ellipsize">marquee</item>
</style>
<style name="VLCardViewInfoStyle" parent="Widget.Leanback.ImageCardView.InfoAreaStyle">
<item name="android:background">@color/tv_card_content</item>
More information about the Android
mailing list