cordova-issues mailing list archives

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

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

ASF GitHub Bot commented on CB-2606:
------------------------------------

Github user AxelNennker commented on the pull request:

    https://github.com/apache/cordova-cli/pull/126#issuecomment-45211776
  
    https://cordova.apache.org/docs/en/3.5.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens
     
    <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" />
      </platform>
    
    res is NOT relative to the www directory but to the project directory, which is one above
www.
    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: 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.2#6252)

Mime
View raw message