You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Hi everyone! I am trying to build a browser for Android TV using the GeckoEngine component. Being Android TV I have not access to a touch screen, hence I am trying to implement user interaction with a simple pointer moved with the remote's DPAD.
While I am able to simulate clicks with MotionEvents, I cannot figure out how to scroll the web page content rendered in the view. I tried with the scrollBy/scrollTo methods of my GeckoEngineView instance but it appears to be moving the whole view rather than the web page within, leaving an empty area:
If this is the intended behaviour of the methods, is there a way to programmatically scroll the web content from the GeckoEngineView or any other component? Thanks in advance to everyone willing to help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone! I am trying to build a browser for Android TV using the GeckoEngine component. Being Android TV I have not access to a touch screen, hence I am trying to implement user interaction with a simple pointer moved with the remote's DPAD.
While I am able to simulate clicks with MotionEvents, I cannot figure out how to scroll the web page content rendered in the view. I tried with the scrollBy/scrollTo methods of my GeckoEngineView instance but it appears to be moving the whole view rather than the web page within, leaving an empty area:
If this is the intended behaviour of the methods, is there a way to programmatically scroll the web content from the GeckoEngineView or any other component? Thanks in advance to everyone willing to help!
Beta Was this translation helpful? Give feedback.
All reactions