Hi, I have a bottom drawer for my app and so far a...
# compose
n
Hi, I have a bottom drawer for my app and so far all I can find is open/expand/close. Is it possible to define how far down the drawer comes when closed, and how far up it opens when expanded? I'm using the BottomDrawerLayout.
g
You can open half way or all the way. BottomDrawerValue.Closed (0%) Open (50%) Expanded (100%
n
Thanks @Guy Bieber. I've seen apps where the bottom drawer showed slightly when closed so the user would know it exists and what it's for. Is there a work around to get that?
g
Not sure how to get that effect other than adding your own indicator.
Perhaps a change request. I had previously requested the 100% on open and they did it pretty quickly.
n
Oh right, ok! Will try. 😊