Hi, Wilmar Martinez
You should add android:configChanges="screenSize" in
AndroidManifest.xml to let android system handle the screen size. You can refer
to this tutorial:
https://crosswalk-project.org/documentation/android/embedding_crosswalk.html.
Thanks
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Wilmar
Martinez
Sent: Sunday, October 16, 2016 4:40 AM
To: [email protected]
Subject: [Crosswalk-help] Why each time that the device turn the page return to
load
Good afternoon,
Why each time that the device turn (example if be in vertical and change to
horizontal) the page return to load
public class MainActivity extends AppCompatActivity {
private XWalkView mXWalkView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
XWalkView xWalkWebView = (XWalkView) findViewById(R.id.xwalkWebView);
xWalkWebView.load("https://crosswalk-project.org", null);
}
}
Attentively,
Wilmar Martinez
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help