Home > OS >  Bottom sheet content not "sticking" to top on show
Bottom sheet content not "sticking" to top on show

Time:12-30

I have tried following the screenshot 1 bottom sheet

Screenshot 2: screenshot 2 bottom sheet

CodePudding user response:

Please remove this line:-

app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"

From your Frame Layout and place this line in you parent layout CoordinatorLayout

I hope this will help you!!

  • Related