I was trying to set a fixed height, non-expandable bottomsheet layout fragment with round corners.
I found similar stackoverflow questions which suggested to set the peek