incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1263) Android SplashScreen: landscape + portrait
Date Mon, 20 Aug 2012 11:00:38 GMT

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

Simon MacDonald resolved CB-1263.
---------------------------------

    Resolution: Won't Fix
      Assignee: Simon MacDonald  (was: Joe Bowser)

Sorry, we won't be fixing this problem. The proper way to support portrait and landscape for
an Android splash screen is to use a 9-patch image. Here are the instructions from Android
developer site:

https://developer.android.com/tools/help/draw9patch.html
                
> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message