rscheel Well-Known Member Licensed User Longtime User Mar 9, 2016 #1 Consultation anyone know if a webview to rotate the screen content can be maintained without being recharged and content fits the rotated screen. Thank you.
Consultation anyone know if a webview to rotate the screen content can be maintained without being recharged and content fits the rotated screen. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2016 #2 It is not simple but it is possible. See this post: https://www.b4x.com/android/forum/t...through-orientation-change.37511/#post-222072 You need to add this line to the manifest editor: B4X: SetActivityAttribute(main, android:configChanges, "orientation|screenSize") Upvote 0
It is not simple but it is possible. See this post: https://www.b4x.com/android/forum/t...through-orientation-change.37511/#post-222072 You need to add this line to the manifest editor: B4X: SetActivityAttribute(main, android:configChanges, "orientation|screenSize")
rscheel Well-Known Member Licensed User Longtime User Mar 9, 2016 #3 @Erel Thank you very much for your time before you answer me, I had found the post and had tested and works perfectly. It's just what I needed, and I skip a doubt, this could replace the StateManager library? Upvote 0
@Erel Thank you very much for your time before you answer me, I had found the post and had tested and works perfectly. It's just what I needed, and I skip a doubt, this could replace the StateManager library?
DonManfred Expert Licensed User Longtime User Mar 9, 2016 #4 rscheel said: this could replace the StateManager library? Click to expand... No. Move your device 180 degree and it will reload the page like before.... But you will dont get an unexpedted change when moving the device just a few degrees Upvote 0
rscheel said: this could replace the StateManager library? Click to expand... No. Move your device 180 degree and it will reload the page like before.... But you will dont get an unexpedted change when moving the device just a few degrees
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2016 #5 StateManager is less important when you use this solution as the activity is not recreated. Upvote 0