Vivek Sharma

    Vivek Sharma

    1 year ago
    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

    Se7eN

    1 year ago
    It's a bottom sheet
    Vivek Sharma

    Vivek Sharma

    1 year ago
    @Se7eN I implemented what you told first to build a simple todo app , I will show you
    s

    Se7eN

    1 year ago
    So bottom sheet didn't work?
    Vivek Sharma

    Vivek Sharma

    1 year ago
    how to record emulator screen, it just flicker when I rouch from mouse pointer
    I dont know , I will show you
    s

    Se7eN

    1 year ago
    Yeah same here I guess it's a bug
    Vivek Sharma

    Vivek Sharma

    1 year ago
    I will show ss
    wait a sec
    But this is different
    s

    Se7eN

    1 year ago
    Is this BottomDrawerLayout?
    Vivek Sharma

    Vivek Sharma

    1 year ago
    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

    Se7eN

    1 year ago
    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
    Vivek Sharma

    Vivek Sharma

    1 year ago
    Yes there is
    BottomSheetScaffold
    , but it is like a simple sheet and doest overlay other layout like
    BottomDrawerLayout
    , take a lookhttps://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#bottomsheetscaffold
    Vivek Sharma

    Vivek Sharma

    1 year ago
    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

    Se7eN

    1 year ago
    Yeah that'll do
    Vivek Sharma

    Vivek Sharma

    1 year ago
    okay I will try and tell