1<?xml version="1.0" encoding="utf-8"?> 2<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent" 6 android:background="#44000000" 7 android:id="@+id/main_layout" 8 > 9 10 <FrameLayout 11 android:id="@+id/bottom_sheet" 12 android:layout_width="match_parent" 13 android:layout_height="match_parent" 14 android:elevation="4dp" 15 app:behavior_expandedOffset="40dp" 16 app:behavior_fitToContents="false" 17 app:behavior_halfExpandedRatio="0.6" 18 app:behavior_hideable="true" 19 app:behavior_peekHeight="0dp" 20 app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> 21 22 </FrameLayout> 23 24</androidx.coordinatorlayout.widget.CoordinatorLayout>