Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我触摸 PopupWindow 之外的控件时,弹出窗口消失,但触摸的控件没有获得焦点。
问:可以做些什么来确保单击的控件获得焦点?
我试过 setOutsideTouchable 没有运气,看起来这个方法是为了别的东西。
Android:将触摸事件委托给底层视图