I hope someone will help me with this issue:
I've got FrameLayout with two main layers. Video layer, where the streams are broadcasted and on top of it, there is a WebView, which loads a portal (HTML5/CSS/...) with widgets, so it looks like OSD on TV.
When user touches the screen, program info, program channel icon is shown, etc. Touches again, OSD disappear. User can swipe between channels in both directions (infinite loop). All these gestures are performed in WebView, so they're not handled by Android. Communication between portal and Android is done via Javascript interface (enabled on my web view layer).
So far, so good.
When the widgets are hidden, they're not actualy hidden, they're just shown off my tablet screen, because portal area is larger than my web view area. I am using match_parent parameters for height and width.
The actual problem is that sometimes when I do drag by my finger, I manage to scroll the web view (move it) and then I see rest of the portal area, where the widgets are so called hidden.
I wonder how to prevent this happen. I can't disable gestures for the web view, I just want to have it fixed in top left corner without any movement.
I hope someone will be able to help me. Many thanks. Martin