- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Intel Support
How do I increase app maximum supported aspect ratio i.e. Samsung S8
Where do I add this code, should I add it in the addition.xml or index.html ? do you have a full sample code?
<meta-data android:name="android.max_aspect" android:value="ratio_float"/>
https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html?
Regards
Honda20
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is not something you can address easily with the XDK build system, you'll have to use PhoneGap Build or Cordova CLI to implement that feature (it may already be part of the most recent Cordova CLI, I'm not sure).
See this doc page for PGB > http://docs.phonegap.com/phonegap-build/configuring/config-file-element/ < where they explain how to use the config.xml file to address such issues. You can add the lines they suggest go into the config.xml file by putting them into your intelxdk.config.additions.xml file and they will be included in the config.xml file that is exported by the XDK using the Cordova Package Build tile on the Build tab.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page