Browse Source

Remove Coordinator Layout due to background color conflict

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 year ago
parent
commit
803dcfe31e
1 changed files with 12 additions and 5 deletions
  1. 12 5
      app/src/main/res/layout/file_actions_bottom_sheet.xml

+ 12 - 5
app/src/main/res/layout/file_actions_bottom_sheet.xml

@@ -25,7 +25,8 @@
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:tools="http://schemas.android.com/tools"
     style="@style/Widget.Material3.BottomSheet"
     style="@style/Widget.Material3.BottomSheet"
     android:layout_width="match_parent"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
+    android:layout_height="wrap_content"
+    android:layout_gravity="bottom"
     app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
     app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
 
 
     <LinearLayout
     <LinearLayout
@@ -75,11 +76,17 @@
 
 
         </LinearLayout>
         </LinearLayout>
 
 
-        <LinearLayout
-            android:id="@+id/file_actions_list"
+        <androidx.core.widget.NestedScrollView
             android:layout_width="match_parent"
             android:layout_width="match_parent"
-            android:layout_height="wrap_content"
-            android:orientation="vertical" />
+            android:layout_height="wrap_content">
+
+            <LinearLayout
+                android:id="@+id/file_actions_list"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:orientation="vertical" />
+
+        </androidx.core.widget.NestedScrollView>
 
 
     </LinearLayout>
     </LinearLayout>