WindowManager 添加的view怎么获得触摸事件

2025-04-28 03:23:35
推荐回答(1个)
回答1:

要在实例化view之后 设置上setFocuable(true)和setFoucusableInTouchMode(true)
就行了