1

Would someone tell me how to open a custom dialog from top screen? Just like in this image?

enter image description here

I tried using BottomSheetFragment() and everything works fine in bottom sheet fragment but I cant set its behaviour like top sheet fragment and I need to do that.

Ryan M
  • 18,333
  • 31
  • 67
  • 74

1 Answers1

1

It is not possible with the default bottom sheet provided by google as it is the "bottom" sheet. however, I have used this in the past here is a completeexample for it

Kashif Mehmood
  • 323
  • 2
  • 15