assets - Multi Device Hybrid Apps - support for xxhdpi and xxxhdpi densities on Android -


i'm using visual studio 2013 multi-device hybrid apps ctp 2.0. in project template, there several placeholder splashscreens , icons android: ldpi, mdpi, hdpi , xhdpi densities. how can support xxhdpi , xxxhdpi densities? tried following:

  1. added files res/icons/android (icon-144-xxhdpi.png) , res/screens/android (screen-xxhdpi.png)
  2. added icon specification config.xml according cordova docs

the xxhdpi images not present in apk file after build.

currently visual studio not support xxhdpi or xxxhdpi , therefore xxhdpi.png images make package (.apk). vs cpt2.0 supports below listed resolution , can see complete list across different platforms here http://msdn.microsoft.com/en-us/library/dn757053.aspx#visualassets

workaround include xxhdpi or xxxhdpi resources package:

  1. create multi-device hybrid apps project or open existing project.
  2. build project
  3. go bld\debug\platforms\android\res
  4. add folder xxhdpi or xxxhdpi res like

enter image description here

  1. build project. not re-build.

now resources present under bld\debug\platforms\android\res add package (*.apk)

supported icon , screen resources in visual studio multi-device hybrid apps ctp 2.0:

  • icon-36-ldpi.png
  • icon-48-mdpi.png
  • icon-72-hdpi.png
  • icon-96-xhdpi.png
  • icon-96-xhdpi.png

  • screen-xhdpi-landscape.png

  • screen-hdpi-landscape.png
  • screen-mdpi-landscape.png
  • screen-ldpi-landscape.png
  • screen-xhdpi-portrait.png
  • screen-hdpi-portrait.png
  • screen-mdpi-portrait.png
  • screen-ldpi-portrait.png

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -