Home > Mobile >  Webview to load the web page of how to implement can somehow the screen switch, switch is phone will
Webview to load the web page of how to implement can somehow the screen switch, switch is phone will

Time:02-06

Android: configChanges="keyboardHidden | orientation | screenSize"
According to some thoughts on the net, in XML, rotating the phone has no reaction, what's the other way?
Wrapped the webview a web page

CodePudding user response:

Somehow the screen switch WebView with you it doesn't matter, want to switch is outside of the Activity.
But to phone support, such as if the phone fixed vertical screen, that is not the switch;
If the phone support switching, and the Activity also support the switch, it can switch.
  • Related