Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89DB81988E for ; Wed, 16 Mar 2016 16:44:36 +0000 (UTC) Received: (qmail 18474 invoked by uid 500); 16 Mar 2016 16:44:34 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 18443 invoked by uid 500); 16 Mar 2016 16:44:34 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 18159 invoked by uid 99); 16 Mar 2016 16:44:34 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 16:44:34 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 83CE02C1F80 for ; Wed, 16 Mar 2016 16:44:34 +0000 (UTC) Date: Wed, 16 Mar 2016 16:44:34 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10178) Unclear windows phone documentation for icons and splash screens MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197654#comment-15197654 ] ASF GitHub Bot commented on CB-10178: ------------------------------------- Github user nikhilkh commented on a diff in the pull request: https://github.com/apache/cordova-docs/pull/558#discussion_r56368991 --- Diff: www/docs/en/dev/config_ref/images.md --- @@ -119,6 +120,45 @@ different screen resolutions. - [App icon and image size guidelines](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html) ##Windows + +For Windows the recommended approach to define app icons is to use `target` attribute. + +```xml + + + + + + + + + + +``` + +where `source` is the path to the icon which needs to be added. + +Please note that Windows platform handles MRT icons automatically, so if you specify `src="res/windows/storelogo.png"` the following files will be copied into app's `images` folder: `res/windows/storelogo.scale-100.png`, `res/windows/storelogo.scale-200.png`, etc. + +The `target` attribute specifies the base name for resultant icons. For every icon file destination filename is calculated as `target + '.' + MRT_qualifiers + extension(src)`. For the icons to display properly in resultant app every `target` value should be the one of icon filenames, defined in application's `.appxmanifest` file. + +Summarizing the above, using `target` attribute it is possible to: + + * define a group of icons for different device scale factors using single `` element, for example: +```xml + --- End diff -- Should `target` have extension or not? > Unclear windows phone documentation for icons and splash screens > ---------------------------------------------------------------- > > Key: CB-10178 > URL: https://issues.apache.org/jira/browse/CB-10178 > Project: Apache Cordova > Issue Type: Improvement > Components: Docs > Affects Versions: 5.4.0 > Environment: Phonegap CLI, building to Windows platform. Testing on physical windows phone device and on windows phone emulator. > Reporter: Rupert McKay > Assignee: Nikhil Khandelwal > Priority: Minor > Labels: Docs-6.x, triaged, windows > Original Estimate: 1h > Remaining Estimate: 1h > > https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/config_ref/images.md > In the section 'Configuring Icons in the CLI' the windows sections neglect to mention the affect adding a .scale-100 or .scale-240 extension can have to how source images get mapped to destination images. > The examples provided will all default to mapping onto .scale-100. > Recommend adding examples like the following: > {code:xml} > > > > > > > > > > > > > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org