https://kotlinlang.org logo
n

Nat Strangerweather

11/20/2020, 5:39 PM
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

Guy Bieber

11/20/2020, 5:51 PM
You can open half way or all the way. BottomDrawerValue.Closed (0%) Open (50%) Expanded (100%
n

Nat Strangerweather

11/20/2020, 6:05 PM
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

Guy Bieber

11/20/2020, 6:07 PM
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

Nat Strangerweather

11/20/2020, 6:11 PM
Oh right, ok! Will try. 😊
2 Views