cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgrebnov <...@git.apache.org>
Subject [GitHub] cordova-docs pull request: CB-2606 Documented icon usage
Date Thu, 03 Apr 2014 12:41:19 GMT
Github user sgrebnov commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/201#discussion_r11249330
  
    --- Diff: docs/en/edge/config_ref/images.md ---
    @@ -26,45 +26,76 @@ SDK tools (detailed in the Platform Guides).
     
     ## Configuring Icons in the CLI
     
    -When working in the CLI, icon source files are located within various
    -platform-specific subdirectories within the project's `www/res/icons`
    -directory. Newly created projects come with a default set of Cordova
    -icons for you to replace for the platforms you wish to target.
    +When working in the CLI you can define app icon(s) via `<icon>` element (`config.xml`).
    +If you do not specify an icon then the Apache Cordova logo is used.
     
    -Android specifies icons for low, medium, high, and extra-high resolutions:
    +        <icon src="res/ios/icon.png" platform="ios" width="57" height="57" density="mdpi"
/>
     
    -        android/icon-36-ldpi.png
    -        android/icon-48-mdpi.png
    -        android/icon-72-hdpi.png
    -        android/icon-96-xhdpi.png
    +src: (required) specifies the location of the image file, relative to your www directory
     
    -The iOS platform specifies 72-pixel-square icons for iPads, and
    -57-pixel icons for iPhones and iPods, with high-resolution _2x_
    -variants for retina displays:
    +platform: (optional) target platform
     
    -        ios/icon-57-2x.png
    -        ios/icon-57.png
    -        ios/icon-72-2x.png
    -        ios/icon-72.png
    +width: (optional) icon width in pixels
     
    -Windows Phone specifies a default 48-pixel icon, along with various
    -devices' background tiling images used when representing applications:
    +height: (optional) icon height in pixels 
     
    -        windows-phone/icon-48.png
    -        windows-phone/icon-62-tile.png
    -        windows-phone/icon-173-tile.png
    +density: (optional) android specific, specifies icon density
     
    -Blackberry 10 requires an icon element in config.xml:
    --- End diff --
    
    Temporary removed BB10 and Tizen related info since not sure it is actual. Will review
and bring it back.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message