https://kotlinlang.org logo
j

jaqxues

10/31/2020, 6:34 PM
A couple of questions about the Drawer Can I make it smaller like a standard Drawer on Android? The Compose one is just huge. Are there `DrawerButton`s or something other to create them (same goes for the drawer headers, with an app name and a logo maybe). Are there any plans to write those so I know what to invest time in?
If
MaterialTheme.shapes.small
should make the drawer smaller, thats not working
a

alorma

11/01/2020, 7:59 AM
No, shape is for corners.
I'm making a lib (https://github.com/alorma/Compose-Debug-Drawer) that you can use to build your content, if you use the standalone method DrawerContent
j

jaqxues

11/01/2020, 8:57 AM
I saw that, but (nothing against your library) I just want a simple way to make the drawer smaller. Ended up writing something like this
3 Views