[Android] Revert "Fix browser layout for subs picker"

Geoffrey Métais git at videolan.org
Thu Aug 9 17:56:09 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Aug  9 17:52:58 2018 +0200| [597da8c6da63bf5804ee5f3aa5dcfa8c6c811b2d] | committer: Geoffrey Métais

Revert "Fix browser layout for subs picker"

This reverts commit 8f16250331effed0a52aeb6789c3a6eabc2f6e1b.

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

 vlc-android/res/layout/directory_browser.xml    | 8 ++++----
 vlc-android/res/layout/file_picker_activity.xml | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/res/layout/directory_browser.xml b/vlc-android/res/layout/directory_browser.xml
index 7ee3ff2de..87a90a58f 100644
--- a/vlc-android/res/layout/directory_browser.xml
+++ b/vlc-android/res/layout/directory_browser.xml
@@ -20,17 +20,17 @@
             <org.videolan.vlc.gui.view.SwipeRefreshLayout
                 android:id="@+id/swipeLayout"
                 android:layout_width="@dimen/default_content_width"
-                android:layout_height="wrap_content"
+                android:layout_height="0dp"
                 app:layout_constraintTop_toBottomOf="@+id/searchButton"
                 app:layout_constraintLeft_toLeftOf="parent"
                 app:layout_constraintRight_toRightOf="parent"
-                app:layout_constraintBottom_toBottomOf="parent" >
+                app:layout_constraintBottom_toBottomOf="parent"
+                app:layout_constraintHeight_default="spread" >
                 <android.support.v7.widget.RecyclerView
                     android:id="@+id/network_list"
                     android:layout_width="match_parent"
-                    android:layout_height="wrap_content"
+                    android:layout_height="match_parent"
                     android:background="?attr/background_default"
-                    app:layout_constraintHeight_default="spread"
                     android:visibility="gone"/>
             </org.videolan.vlc.gui.view.SwipeRefreshLayout>
             <TextView
diff --git a/vlc-android/res/layout/file_picker_activity.xml b/vlc-android/res/layout/file_picker_activity.xml
index 5331e80ae..c8bace40c 100644
--- a/vlc-android/res/layout/file_picker_activity.xml
+++ b/vlc-android/res/layout/file_picker_activity.xml
@@ -11,7 +11,7 @@
         android:layout_height="48dp"
         android:layout_gravity="start|center_horizontal"
         android:contentDescription="@string/directories"
-        android:layout_marginStart="2dp"
+        android:layout_marginLeft="2dp"
         android:onClick="onHomeClick"
         tools:targetApi="11"
         android:src="@drawable/ic_browser_home_normal"



More information about the Android mailing list