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:crosswalk-help-boun...@lists.crosswalk-project.org] On Behalf Of Wilmar 
Martinez
Sent: Sunday, October 16, 2016 4:40 AM
To: crosswalk-help@lists.crosswalk-project.org
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
Crosswalk-help@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to