You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/04/04 22:28:14 UTC

[jira] [Resolved] (CB-1367) Splash image with configurable scaling mode

     [ https://issues.apache.org/jira/browse/CB-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-1367.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0
         Assignee: Andrew Grieve  (was: Simon MacDonald)

Fixed via pull request:

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=ba314246047501c36916604facb5e097572771e4

Instead of making the stretch mode configurable, it sets it to ScaleType.CENTER_CROP.
                
> Splash image with configurable scaling mode
> -------------------------------------------
>
>                 Key: CB-1367
>                 URL: https://issues.apache.org/jira/browse/CB-1367
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Peter Schönhofen
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> It would be nice if the splash image were not implemented as a background image of the splash dialog but rather as an ImageView inserted into it. This way the scaling mode could be specified. Without this, if the aspect ratio of a device screen does not match the ratio of the splash image, the image will be distorted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira