You may try adding the following code in your Activity:
public boolean dispatchTouchEvent(MotionEvent ev) {
if (ev.getAction() == MotionEvent.ACTION_MOVE) {
Hide your address bar here;
}
super.dispatchTouchEvent(ev);
return true;
}
Regards,
Xing
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Golan
Sent: Tuesday, August 11, 2015 8:49 PM
To: Crosswalk-help
Subject: [Crosswalk-help] Scroll events of XWalkView in Android
Hi,
Is it possible to get scroll events of XWalkView somehow in Android?
I'm interested in hiding the address bar when scrolling the web content, when
embedding XWalkView into an activity.
Thanks
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help