增加触摸关闭弹窗
This commit is contained in:
@@ -168,6 +168,12 @@ internal class WarningFloatWindowHelper(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 设置触摸监听,直接关掉弹窗
|
||||
frameLayout?.setOnTouchListener { _, _ ->
|
||||
exitAnim()
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user