If you use viewport, you should also use below two apis: webView.getSettings().setLoadWithOverviewMode(true); webView.getSettings().setUseWideViewPort(true);
https://crosswalk-project.org/apis/embeddingapidocs_v7/ Best Regards ☺ Xiaofeng Zhang From: Crosswalk-help [mailto:[email protected]] On Behalf Of Dinesh Guleria Sent: Monday, February 20, 2017 2:58 PM To: Zhang, Belem <[email protected]> Cc: [email protected] Subject: Re: [Crosswalk-help] android view not working same as crosswalk view Hello Belem, Thanks for your reply. >> I didn’t see any relevant code code is here for app. https://github.com/dinguluer/UiMagician/tree/master/samples/Digital_ocean/html_mobile_app/mobile_app/intel_xdx/UiMagician/www >> Have you tried scale fit mobile web content using viewport meta tag? I try this also but result is same. I have also attached the configuration file "intelxdk.config.android.xml" file. I build for minimum & MAX version as android marshmallow api number = 23. Please suggest. Regards, Dinesh On Mon, Feb 20, 2017 at 6:36 AM, Zhang, Belem <[email protected]<mailto:[email protected]>> wrote: Have you tried scale fit mobile web content using viewport meta tag? I didn’t see any relevant code in https://github.com/dinguluer/UiMagician/tree/master/samples e.g. <meta name="viewport" content="width=device-width, initial-scale=1.0"> BR Belem From: Crosswalk-help [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Dinesh Guleria Sent: Friday, February 17, 2017 6:41 PM To: [email protected]<mailto:[email protected]> Subject: [Crosswalk-help] android view not working same as crosswalk view Hello Crosswalk Team, I have been using crosswalk over the years in opensource project UiMagician, to generate the android app. https://sites.google.com/site/uimagician/ Now as crosswalk will no longer be supported as community is saying that latest Android view uses same chrome view as used by Crosswalk. My app looks very well similar to html app when i use crosswalk but when i do not use crosswalk & use build my hybrid app using cordova it looks very different But why my hybrid android app looks different when using crosswalk view or android view ? Please see the attached pictures these are the printshot of app buld with crosswalk & other build without crosswalk. I have tested it on my phone with Android version 6.0. If latest android view is same as crosswalk chrome view then why app looks diffrent (bigger font & not able to adjust to the phone)? Please suggest. Regards, Dinesh
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
