Can't control behaviour of the current URL when changing orientation. With the manifest file containing -
SetActivityAttribute(main, android:configChanges, keyboardHidden|orientation)
an orientation change remembers the current URL and location on the page but when changed to landscape the displayed screen only covers the left half of the screen (probably the width of the portrait page) and you can scroll only part way down the page. Seems like the resolution in landscape mode is forced to be the portrait mode. However, with this manifest line (orientation statement removed) -
SetActivityAttribute(main, android:configChanges, keyboardHidden)
the orientation works perfectly in both portrait and landscape mode filling the screen in both cases, but when the orientation occurs, the webview page is returned to the initial page as set in the loadURL command. Same things occurs when going from landscape to portrait or vice versa. Any suggestions on how to keep the current url and page location and still have the full width of the screen used when in landscape mode?
SetActivityAttribute(main, android:configChanges, keyboardHidden|orientation)
an orientation change remembers the current URL and location on the page but when changed to landscape the displayed screen only covers the left half of the screen (probably the width of the portrait page) and you can scroll only part way down the page. Seems like the resolution in landscape mode is forced to be the portrait mode. However, with this manifest line (orientation statement removed) -
SetActivityAttribute(main, android:configChanges, keyboardHidden)
the orientation works perfectly in both portrait and landscape mode filling the screen in both cases, but when the orientation occurs, the webview page is returned to the initial page as set in the loadURL command. Same things occurs when going from landscape to portrait or vice versa. Any suggestions on how to keep the current url and page location and still have the full width of the screen used when in landscape mode?