Browse Source

Merge pull request #6871 from jmue/fix-share-scrollview

fix inplace scrollview in sharing fragment
Tobias Kaminsky 4 years ago
parent
commit
8af7aefd81
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
         <androidx.recyclerview.widget.RecyclerView
             android:id="@+id/publicShareList"
             android:id="@+id/publicShareList"
             android:layout_width="match_parent"
             android:layout_width="match_parent"
-            android:layout_height="0dp"
-            android:layout_weight="1"
+            android:layout_height="wrap_content"
             android:divider="@drawable/divider"
             android:divider="@drawable/divider"
             android:dividerHeight="1dp" />
             android:dividerHeight="1dp" />
 
 
@@ -111,8 +110,7 @@
         <androidx.recyclerview.widget.RecyclerView
         <androidx.recyclerview.widget.RecyclerView
             android:id="@+id/shareUsersList"
             android:id="@+id/shareUsersList"
             android:layout_width="match_parent"
             android:layout_width="match_parent"
-            android:layout_height="0dp"
-            android:layout_weight="1"
+            android:layout_height="wrap_content"
             android:divider="@drawable/divider"
             android:divider="@drawable/divider"
             android:dividerHeight="1dp" />
             android:dividerHeight="1dp" />