I have a regular LinearLayout with a recycler view and a button below it. The problem is
when I show bottomsheet using myBottomSheet.showWithSheetView(sheet) it shows recyclerview completely but the button is only partially visible.
I have to pull the bottom sheet up to see the button completely. I don't want this bottomsheet behaviour. I want bottomsheet to fully show all elements in my layout.
You can set how far the bottomsheet peeks in pixels by calling setPeekSheetTranslation. You can also trigger the sheet to open completely by calling expandSheet() right after showWithSheet.
I have a regular LinearLayout with a recycler view and a button below it. The problem is when I show bottomsheet using
myBottomSheet.showWithSheetView(sheet)
it shows recyclerview completely but the button is only partially visible.I have to pull the bottom sheet up to see the button completely. I don't want this bottomsheet behaviour. I want bottomsheet to fully show all elements in my layout.
Can anyone suggest a solution?