Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Honda20
Beginner
71 Views

Android Larger aspect ratio Samsung S8

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 (2)
0 Kudos
1 Reply
PaulF_IntelCorp
Employee
71 Views

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.

Reply