[ https://issues.apache.org/jira/browse/CB-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593067#comment-13593067 ]
Darryl Pogue commented on CB-2606: ---------------------------------- Do the icons need to live under {{www}}? It seems a bit wasteful to include all the icons for all the platforms in each platform's binary, while the actual icon used by the platform is probably duplicated somewhere else by the build process. I know the savings are relatively small, but on a project I just generated with the CLI tools the {{www/res/}} directory totals 6.8 MB (containing both icons and splash screens). > 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