[Android] Fix video playlist height

Geoffrey Métais git at videolan.org
Tue Dec 1 16:46:29 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Dec  1 16:45:50 2015 +0100| [f7339b216861556476c2cf0ec7d40cab6f4f0b92] | committer: Geoffrey Métais

Fix video playlist height

Because wrap_content doesn't work for RecyclerView...

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f7339b216861556476c2cf0ec7d40cab6f4f0b92
---

 vlc-android/res/layout/player.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index f575ae9..a6fcd35 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -126,7 +126,7 @@
     <android.support.v7.widget.RecyclerView
         android:id="@+id/video_playlist"
         android:layout_width="480dp"
-        android:layout_height="wrap_content"
+        android:layout_height="480dp"
         android:layout_centerInParent="true"
         android:background="@drawable/rounded_corners"
         android:visibility="gone"/>



More information about the Android mailing list