[Android] No match_parent in ConstraintLayout

Geoffrey Métais git at videolan.org
Thu Feb 2 11:35:08 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb  2 10:12:48 2017 +0100| [0f7f27e91436b964e0006a5cf44c7a3157c70a74] | committer: Geoffrey Métais

No match_parent in ConstraintLayout

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

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

diff --git a/vlc-android/res/layout/browser_item.xml b/vlc-android/res/layout/browser_item.xml
index 0991898..2e21aee 100644
--- a/vlc-android/res/layout/browser_item.xml
+++ b/vlc-android/res/layout/browser_item.xml
@@ -57,7 +57,7 @@
             android:id="@+id/dvi_icon"
             android:layout_width="0dp"
             app:layout_constraintDimensionRatio="1:1"
-            android:layout_height="match_parent"
+            android:layout_height="0dp"
             android:background="@{cover}"
             android:contentDescription="@string/cover_art"
             android:gravity="center"



More information about the Android mailing list