cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8750) WP8: Splashscreen should support pixel-perfect images for each resolution
Date Tue, 28 Apr 2015 00:19:08 GMT

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

ASF subversion and git services commented on CB-8750:
-----------------------------------------------------

Commit 9549ce3a9df13d6ad19789debc27a41445bb43aa in cordova-plugin-splashscreen's branch refs/heads/CB-8860cordova-plugin-splashscreen
from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=9549ce3 ]

CB-8750 [wp8]: Allow resolution-specific splashscreen images

There are two aspect ratios for Windows Phone devices: 15:9 and 16:9. At
the moment, though, there is only one splash screen by default for WP8
Cordova apps. When stretched to fit all possible resolutions, this can
sometimes look bad.

WP supports resolution-specific splashscreens, so this commit adds the
same support to the splashscreen plugin. It uses the same base name for
the splashscreen, but adds modifiers such as ".screen-<res>" based on
the device. If a screen-specific image is found, it is used. If not, we
fall back to the single default image.

Fixes https://issues.apache.org/jira/browse/CB-8750

github close #41
github close #42


> WP8: Splashscreen should support pixel-perfect images for each resolution
> -------------------------------------------------------------------------
>
>                 Key: CB-8750
>                 URL: https://issues.apache.org/jira/browse/CB-8750
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin SplashScreen, WP8
>    Affects Versions: 3.7.1
>            Reporter: Dan Polivy
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> Currently, the splashscreen plugin on Windows Phone only supports a single SplashScreenImage.jpg
file, and scales that to fit all device resolutions. But, it is possible to detect the resolution
of the device, and allow for pixel-perfect splash screens for each individual resolution.
> I have some local changes that I will send as a PR to the plugin that allows one to specify
three different images, each of different resolutions to match those supported by WP8.
> Resolution   Dimensions	File name
> WVGA	480 x 800	        SplashScreenImage.screen-WVGA.jpg
> 720p	720 x 1280	SplashScreenImage.screen-720p.jpg
> WXGA	768 x 1280	SplashScreenImage.screen-WXGA.jpg



--
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


Mime
View raw message