Преглед на файлове

Remove Coordinator Layout due to background color conflict

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk преди 1 година
родител
ревизия
803dcfe31e
променени са 1 файла, в които са добавени 12 реда и са изтрити 5 реда
  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"
     style="@style/Widget.Material3.BottomSheet"
     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">
 
     <LinearLayout
@@ -75,11 +76,17 @@
 
         </LinearLayout>
 
-        <LinearLayout
-            android:id="@+id/file_actions_list"
+        <androidx.core.widget.NestedScrollView
             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>