My Webview Reloads When I Change From Portrait To Landscape -
i have simple webview runs web application on android. problem when rotate phone change landscape webview reloads , goes beginning.
how can prevent action?
ron
beginning android 3.2 (api level 13), "screen size" changes when device switches between portrait , landscape orientation. thus, if want prevent runtime restarts due orientation change when developing api level 13 or higher (as declared minsdkversion , targetsdkversion attributes), must include "screensize" value in addition "orientation" value. is, must decalare
<activity android:configchanges="orientation|screensize"> here's docs: http://developer.android.com/guide/topics/resources/runtime-changes.html
Comments
Post a Comment