What can be this composable, it has fixed height, ...
# compose
v
What can be this composable, it has fixed height, not expandable (adding task in Google Tasks App)? I have used BottomDrawerLayout , but it doesnt let fix height , any idea? 🤔 Is it something similar to Crane app?
s
It's a bottom sheet
1
v
@Se7eN I implemented what you told first to build a simple todo app , I will show you
s
So bottom sheet didn't work?
v
how to record emulator screen, it just flicker when I rouch from mouse pointer
I dont know , I will show you
s
Yeah same here I guess it's a bug
v
I will show ss
wait a sec
🆗 2
But this is different
s
Is this BottomDrawerLayout?
v
yes
this is bottomDrawer layout
in that google task thing
I am asking what that composable can be? because I tried fixing BottomDrawerLayout max height, but cant, and the soft keyboard it is appearing whole below that composable
s
I haven't used bottom sheets but the composables are something like
BottomSheetScaffold
,
ModalBottomSheet
or might be a different name I don't remember
The
BottomDrawerLayout
is like the navigation drawer but opens from the bottom. So you need a bottom sheet instead of a bottom drawer
v
Yes there is
BottomSheetScaffold
, but it is like a simple sheet and doest overlay other layout like
BottomDrawerLayout
, take a look https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#bottomsheetscaffold
v
There is something
ModalBottomSheetLayout
, I found in docs, so I have to try it and tell, but I guess
yeah I was looking into same
s
Yeah that'll do
v
okay I will try and tell
👍 1