[ 
https://issues.apache.org/jira/browse/CB-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593846#comment-13593846
 ] 

Darryl Pogue commented on CB-2606:
----------------------------------

The project structure from the CLI tools right now is
{code}[projectname]
  |- platforms/
  |- plugins/
  `- www/
{code}

It seems like having a {{res/}} folder there at the top level (instead of under 
{{www/}} would allow the icons to be easily referenced, but not bundled with 
the app.

I guess you could reference them as {{"../res/"}} in config.xml, but it's not 
clear if the config.xml is read before copying to the platform (where it would 
work) or after (where {{../res/}} wouldn't exist).
                
> Add support for <icon> elements in config.xml
> ---------------------------------------------
>
>                 Key: CB-2606
>                 URL: https://issues.apache.org/jira/browse/CB-2606
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Docs
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 2.6.0
>
>
> This feature would add support for specifying the application icon by 
> changing values inside the {{config.xml}} document.
> Relevant details for Cordova:
> - {{<icon>}} elements _may_ have {{width}} and {{height}} attributes 
> representing the preferred size of the icon in CSS pixels.
> - {{<icon>}} elements _must_ have a {{src}} attribute, which contains a path 
> string relative to the {{www/}} folder (or equivalent) in the platform.
> See [the Widget Spec's section on 
> icons|http://www.w3.org/TR/widgets/#the-icon-element-and-its-attributes] for 
> specifics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to