You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Axel Nennker (JIRA)" <ji...@apache.org> on 2014/02/08 11:53:22 UTC

[jira] [Commented] (CB-2606) Add support for elements in config.xml

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

Axel Nennker commented on CB-2606:
----------------------------------

I removed the restriction that icons live in specific directories.
https://github.com/apache/cordova-cli/pull/126

The src in the icon element in config.xml is taken as is.

-Axel


    <icon src="/res/android/icons/icon.png" cdv:platform="android" />
    <icon src="/res/android/icons/icon-ldpi.png" cdv:platform="android" cdv:density="ldpi" />
    <icon src="/res/android/icons/icon-mdpi.png" cdv:platform="android" cdv:density="mdpi" />
    <icon src="/res/android/icons/icon-hdpi.png" cdv:platform="android" cdv:density="hdpi" />
    <icon src="/res/android/icons/icon-xhdpi.png" cdv:platform="android" cdv:density="xhdpi" />




> 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: Wish
>          Components: Docs
>            Reporter: Filip Maj
>            Assignee: Mark Koudritsky
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)