You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Fabrizio Bottino (JIRA)" <ji...@apache.org> on 2012/11/06 14:52:13 UTC

[jira] [Updated] (CB-1263) Android SplashScreen: landscape + portrait

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

Fabrizio Bottino updated CB-1263:
---------------------------------

    Attachment: splashscreenType-2.2.0.patch

Patched again against master and sent pull request. This time should be clean.

I have added 2.2.0 patch file here which is the patch I use on my production project against 2.2.0 release
                
> Android SplashScreen: landscape + portrait
> ------------------------------------------
>
>                 Key: CB-1263
>                 URL: https://issues.apache.org/jira/browse/CB-1263
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Fabrizio Bottino
>            Assignee: Simon MacDonald
>            Priority: Minor
>              Labels: splashscreen
>         Attachments: splash_l.png, splash_p.png, splashscreenType-2.2.0.patch, splashscreenType.patch
>
>
> When you start your application helding your device in landscape mode the splash screen image appears stretched.
> Would be nice to be able to set two images to be used as splash screen for portrait and landscape mode. Example:
> {{super.setIntegerProperty("splashscreen-landscape", R.drawable.splash_l);}}
> {{super.setIntegerProperty("splashscreen-portrait", R.drawable.splash_p);}}
> {{super.loadUrl("file:///android_asset/www/index.html", 5000);}}
> Just like you can do in iOS Xcode.
> BTW: got screenshot instruction from [http://simonmacdonald.blogspot.it/2012/04/phonegap-android-splashscreen-just-got.html] but I couldn't find same information on official phonegap/cordova documentation.

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