Browse Source

fix inplace scrollview in sharing fragment

Signed-off-by: Jens Mueller <tschenser@gmx.de>
Jens Mueller 4 years ago
parent
commit
031e506ec0
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/main/res/layout/file_details_sharing_fragment.xml

+ 2 - 4
src/main/res/layout/file_details_sharing_fragment.xml

@@ -101,8 +101,7 @@
         <androidx.recyclerview.widget.RecyclerView
             android:id="@+id/publicShareList"
             android:layout_width="match_parent"
-            android:layout_height="0dp"
-            android:layout_weight="1"
+            android:layout_height="wrap_content"
             android:divider="@drawable/divider"
             android:dividerHeight="1dp" />
 
@@ -111,8 +110,7 @@
         <androidx.recyclerview.widget.RecyclerView
             android:id="@+id/shareUsersList"
             android:layout_width="match_parent"
-            android:layout_height="0dp"
-            android:layout_weight="1"
+            android:layout_height="wrap_content"
             android:divider="@drawable/divider"
             android:dividerHeight="1dp" />