[英]How to make a top sheet fragment dialog in android?
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.我尝试使用BottomSheetFragment()
并且在底部片断中一切正常,但我无法设置它的行为,如顶部片断,我需要这样做。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.