Join Slack
Powered by
Is there anyway to achieve a bottomsheet like this...
# compose
r
Rafs
11/26/2020, 1:47 PM
Is there anyway to achieve a bottomsheet like this design in compose?
l
loloof64
11/26/2020, 1:52 PM
Hi ! I don't know if the following link is up to date, maybe it can help (or maybe not 😢 ) :
https://foso.github.io/Jetpack-Compose-Playground/cookbook/how_to_create_custom_shape/
loloof64
11/26/2020, 1:53 PM
(Compose 1.0.0-alpha02.)
r
Rafs
11/26/2020, 1:53 PM
Thank you
👍 1
l
loloof64
11/26/2020, 1:54 PM
You're welcome. I hope the classes they use are not obsolete
loloof64
11/26/2020, 1:57 PM
It seems it is not deprecated :
https://developer.android.com/reference/kotlin/androidx/compose/foundation/shape/GenericShape
r
Rafs
11/26/2020, 3:35 PM
Here's what I came up with.
👍 1
7
Views
Open in Slack
Previous
Next