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:23:28 GMT
On Fri Feb 21 09:14 AM, Jonathan Bond-Caron wrote:
> On Thu Feb 20 04:07 AM, Axel Nennker wrote:
> > How about this strategy:
> >
> 
> 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
>

In 4.0, it becomes:
<img ref="icons" src="icon.jpg" width="48" height="48" /> 
<img ref="icons" src="icon.jpg" width="96" height="96" /> 
<img ref="splashscreens" src="splash.jpg" width="1024" height="768" />

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


Mime
View raw message