Browse Source

have fixed header

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 2 years ago
parent
commit
a917ca4bff
1 changed files with 13 additions and 12 deletions
  1. 13 12
      app/src/main/res/layout/file_list_actions_bottom_sheet_fragment.xml

+ 13 - 12
app/src/main/res/layout/file_list_actions_bottom_sheet_fragment.xml

@@ -29,27 +29,28 @@
         android:layout_width="match_parent"
         android:layout_width="match_parent"
         android:layout_height="wrap_content" />
         android:layout_height="wrap_content" />
 
 
+    <TextView
+        android:id="@+id/add_to_cloud"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:paddingHorizontal="@dimen/standard_padding"
+        android:paddingBottom="@dimen/standard_half_padding"
+        android:text="@string/add_to_cloud"
+        android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall"
+        android:textColor="@color/text_color" />
+
     <androidx.core.widget.NestedScrollView
     <androidx.core.widget.NestedScrollView
         android:layout_width="match_parent"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/title">
         app:layout_constraintTop_toBottomOf="@+id/title">
-        
+
         <LinearLayout
         <LinearLayout
-            android:orientation="vertical"
             android:layout_width="match_parent"
             android:layout_width="match_parent"
-            android:layout_height="match_parent">
+            android:layout_height="match_parent"
+            android:orientation="vertical">
 
 
-            <TextView
-                android:id="@+id/add_to_cloud"
-                android:layout_width="wrap_content"
-                android:layout_height="wrap_content"
-                android:paddingHorizontal="@dimen/standard_padding"
-                android:paddingBottom="@dimen/standard_half_padding"
-                android:text="@string/add_to_cloud"
-                android:textAppearance="@style/TextAppearance.Material3.HeadlineSmall"
-                android:textColor="@color/text_color" />
 
 
             <LinearLayout
             <LinearLayout
                 android:id="@+id/menu_upload_files"
                 android:id="@+id/menu_upload_files"