incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Bottino (JIRA)" <>
Subject [jira] [Commented] (CB-1263) Android SplashScreen: landscape + portrait
Date Mon, 20 Aug 2012 16:27:38 GMT


Fabrizio Bottino commented on CB-1263:

Silly me, I did try a lot with 9patch images but I didn't try to not mark center area pixel.
Now I marked only corner pixel (white background) and it works.
Still there are some issues because the image can't be resized so in landscape there is far
more white space around logo than in portrait.

I am doing a small patch do DroidGap class to allow the use of background image as logo image
resized and centered with ImageView ontop of LinearLayout.
Can it be useful to post here?
> Android SplashScreen: landscape + portrait
> ------------------------------------------
>                 Key: CB-1263
>                 URL:
>             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
> 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 []
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:!default.jspa
For more information on JIRA, see:


View raw message