增加触摸关闭弹窗

This commit is contained in:
董宏宇
2021-08-05 21:08:27 +08:00
parent b360945fa9
commit 5aaf47ec56

View File

@@ -168,6 +168,12 @@ internal class WarningFloatWindowHelper(
}
}
}
// 设置触摸监听,直接关掉弹窗
frameLayout?.setOnTouchListener { _, _ ->
exitAnim()
false
}
}