Questions tagged [bottom-sheet-behavior]

2 questions
2
votes
1 answer

How to set the bottomsheet peek height to below a view?

I have a bottomsheet behavior in a linear layout. I need to set the peak height of the bottom sheet to below this button, so it works great on all screens instead of giving a constant value. The bottom sheet is inside a CoordinatorLayout that has…
Rocks123
  • 21
  • 4
0
votes
0 answers

how to keep BottomSheetBehavior extended after refresh content of BottomSheet view

I am trying to keep BottomSheetBehavior extended after reloading the BottomSheet view but the code below makes the BottomSheet view disappear and reappear after reloading @Click(R.id.root_width_layout) private void onClick() { …
alabiboo
  • 53
  • 1
  • 10