Separate view in filter sheet to drag the whitespace of the sheet

This commit is contained in:
Jays2Kings 2021-04-18 01:40:47 -04:00
parent 4b516e2a77
commit 6b0813928a

View File

@ -8,8 +8,6 @@
android:background="@drawable/bottom_sheet_rounded_background"
android:elevation="7dp"
android:orientation="vertical"
android:clickable="true"
android:focusable="true"
app:behavior_peekHeight="60dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
@ -17,6 +15,17 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!-- View for dragging the sheet without highlighting everything -->
<View
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:clickable="true"
android:focusable="true" />
<LinearLayout
android:id="@+id/sheet_layout"
android:layout_width="match_parent"