It was DrawerLayout implement DrawerLayout , which will be DrawerLayout out from the bottom of the screen. Moreover, it will be impossible to do this with a swipe, just open and close by action. The panel will be extended to enter the password. So, maybe there is any library? I read about BottomSheet , but this is not the case, because:

1) The panel is divided into two parts, one is needed 2) There should be no control over the swipe 3) I did not find how to push / pull it in software.

Or is it better to make an AlertDialog with bottom-up animation? Then how to make the window was not in the center, but below?

  • one
    I don’t know where you got the BottomSheet restrictions BottomSheet , this article talks about what you need, apparently (an arbitrary Layot leaving below (or even a full fragment) when you press a button) - pavlofff
  • just like disable svayp from BottomSheet - pavlofff
  • How to deal with forever sticking out the first panel? - Flippy
  • If you still read the article, you will see that nothing “sticks out” there, and in section 3 it is directly stated when and why it “sticks out” - pavlofff
  • You can also look in the direction of SnackBar - miha_dev

1 answer 1

Understood. Removed peekHeight and control the widget from BottomSheetBehavior using getState() and setState() methods