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); }