【发布时间】:2020-04-28 18:40:03
【问题描述】:
我像这样制作底部片断:
val bottomSheet = PictureBottomSheetFragment(fragment)
bottomSheet.isCancelable = true
bottomSheet.setListener(pictureListener)
bottomSheet.show(ac.supportFragmentManager, "PictureBottomSheetFragment")
但是当我触摸外面时它不会消失。并解雇或 isCancelable 不起作用。
【问题讨论】:
-
你好。检查stackoverflow.com/q/38185902/2940733中接受的答案。
标签: android kotlin bottom-sheet android-bottomsheetdialog