cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-2606) Add support for <icon> elements in config.xml
Date Thu, 05 Jun 2014 12:14:03 GMT


ASF GitHub Bot commented on CB-2606:

Github user AxelNennker commented on the pull request:
    <platform name="android">
                  <icon src="res/android/ldpi.png" density="ldpi" />
                  <icon src="res/android/mdpi.png" density="mdpi" />
                  <icon src="res/android/hdpi.png" density="hdpi" />
                  <icon src="res/android/xhdpi.png" density="xhdpi" />
    res is NOT relative to the www directory but to the project directory, which is one above
    Do not put app-launcher icons into the www folder.
    You can use "cordova platform add android -d" to view (error) messages.

> Add support for <icon> elements in config.xml
> ---------------------------------------------
>                 Key: CB-2606
>                 URL:
>             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|]
for specifics.

This message was sent by Atlassian JIRA

View raw message