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.
我有 webview 和其他布局。滚动webview时如何使其他布局不可见(使用View.GONE)
覆盖 touchlistener 但 Action.up 不能赶上 Action.up
怎么可能实现呢?
该点在开始或结束滚动时检测
您可以覆盖活动的 onTouchEvent 例如:
@Override public boolean onTouchEvent(MotionEvent event) { //Do something return super.onTouchEvent(event); }