Would someone tell me how to open a custom dialog from top screen?Just like in this image?
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.
1 answers
solution1
0 2021-05-23 09:58:35
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 complete example for it
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.