cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bond-Caron <jbo...@gdesolutions.com>
Subject RE: cordova launcher icon support https://github.com/apache/cordova-cli/pull/126
Date Fri, 21 Feb 2014 14:14:39 GMT
On Thu Feb 20 04:07 AM, Axel Nennker wrote:
> How about this strategy:
> 
> project_dir/config.xml
> - no new elements in config.xml like cdv:icon
> - no new attributes in icon element in config.xml like cdv:platform or
> gap:platform
> - do not invent stuff we have to support for the rest of our life.
> 
> On all platforms:
> - if config.xml contains a <icon src="whatever.png"/> without any attributes like
> width and heigth, then copy that src to to all platform specific  locations where

Would this work:
<cdv:img ref="icons" src="icon.jpg" width="48" height="48" />
<cdv:img ref="icons" src="icon.jpg" width="96" height="96" />
<cdv:img ref="splashscreens" src="splash.jpg" width="1024" height="768" />

<cdv:platform name="android">
   <cdv:img ref="icons" src="icon2.jpg" width="96" height="96" />
</cdv:platform> 

The cdv: prefix in the only clean way to get to something useful in 4.0



Mime
View raw message