Reputation: 241
I have webview and other layout. How to make when scrolling webview, the other layout makes invisible(Using View.GONE)
override touchlistener but Action.up can`t catch Action.up
how can implement it?
the point is detect when start or end scrolling
Upvotes: 0
Views: 1752
Reputation: 696
You can override onTouchEvent of your activity for ex:
@Override
public boolean onTouchEvent(MotionEvent event) {
//Do something
return super.onTouchEvent(event);
}
Upvotes: 2