[Android] Set wizard dialog height to wrap_content

Geoffrey Métais git at videolan.org
Mon Jul 9 18:21:16 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jul  9 18:20:55 2018 +0200| [c493bd2b13fff7205f0b53c8b9ddb809d2be51cf] | committer: Geoffrey Métais

Set wizard dialog height to wrap_content

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

 vlc-android/res/layout/ml_wizard_activity.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/ml_wizard_activity.xml b/vlc-android/res/layout/ml_wizard_activity.xml
index 55ee93aca..0b5791fe8 100644
--- a/vlc-android/res/layout/ml_wizard_activity.xml
+++ b/vlc-android/res/layout/ml_wizard_activity.xml
@@ -4,7 +4,7 @@
     xmlns:android="http://schemas.android.com/apk/res/android">
 <android.support.constraint.ConstraintLayout
     android:layout_width="320dp"
-    android:layout_height="320dp"
+    android:layout_height="wrap_content"
     android:padding="16dp">
 
     <CheckBox
@@ -25,6 +25,7 @@
         android:text="@string/ok"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toEndOf="parent"
+        app:layout_constraintTop_toBottomOf="@+id/wizard_check_scan"
         style="?android:attr/borderlessButtonStyle" />
 
     <TextView



More information about the Android mailing list