Forráskód Böngészése

Merge pull request #3537 from nextcloud/feature/noid/dragHandles

Add drag handle to remaining bottom sheets
Andy Scherzinger 1 éve
szülő
commit
dd72beead4

+ 5 - 0
app/src/main/res/layout/dialog_attachment.xml

@@ -27,6 +27,11 @@
     android:orientation="vertical"
     android:paddingBottom="@dimen/standard_half_padding">
 
+    <com.google.android.material.bottomsheet.BottomSheetDragHandleView
+        android:id="@+id/bottom_sheet_drag_handle"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content" />
+
     <TextView
         android:id="@+id/upload"
         android:layout_width="wrap_content"

+ 5 - 0
app/src/main/res/layout/dialog_audio_output.xml

@@ -27,6 +27,11 @@
     android:orientation="vertical"
     android:paddingBottom="@dimen/standard_half_padding">
 
+    <com.google.android.material.bottomsheet.BottomSheetDragHandleView
+        android:id="@+id/bottom_sheet_drag_handle"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content" />
+
     <TextView
         android:layout_width="wrap_content"
         android:layout_height="@dimen/bottom_sheet_item_height"

+ 1 - 0
app/src/main/res/layout/dialog_conversation_operations.xml

@@ -37,6 +37,7 @@
         android:paddingBottom="@dimen/standard_half_padding">
 
         <com.google.android.material.bottomsheet.BottomSheetDragHandleView
+            android:id="@+id/bottom_sheet_drag_handle"
             android:layout_width="match_parent"
             android:layout_height="wrap_content" />
 

+ 1 - 0
app/src/main/res/layout/dialog_message_actions.xml

@@ -27,6 +27,7 @@
     android:paddingBottom="@dimen/standard_half_padding">
 
     <com.google.android.material.bottomsheet.BottomSheetDragHandleView
+        android:id="@+id/bottom_sheet_drag_handle"
         android:layout_width="match_parent"
         android:layout_height="wrap_content" />
 

+ 1 - 0
app/src/main/res/layout/dialog_message_reactions.xml

@@ -28,6 +28,7 @@
     android:orientation="vertical">
 
     <com.google.android.material.bottomsheet.BottomSheetDragHandleView
+        android:id="@+id/bottom_sheet_drag_handle"
         android:layout_width="match_parent"
         android:layout_height="wrap_content" />
 

+ 1 - 0
app/src/main/res/layout/dialog_scope.xml

@@ -29,6 +29,7 @@
     android:paddingBottom="@dimen/standard_half_padding">
 
     <com.google.android.material.bottomsheet.BottomSheetDragHandleView
+        android:id="@+id/bottom_sheet_drag_handle"
         android:layout_width="match_parent"
         android:layout_height="wrap_content" />