Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Splash Screen Android Size
Started by Odisej Mar 05 2018 02:52 PM

4 replies to this topic
splash screen android size background color
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Odisej

[GLOBAL: userInfoPane.html]
Odisej
  • Enthusiast

  • 86 posts
  • Corona SDK

I've tried different sizes, but I can't seem to get it in full screen for Android phones and tablets. 

It works fine on iOS.

 

What size and/or code should I use to get it full screen on Android?

If I only use logo with transparent bg, can I change the bg color - so it's not black?

 

 

 



[TOPIC: post.html]
#2

Odisej

[GLOBAL: userInfoPane.html]
Odisej
  • Enthusiast

  • 86 posts
  • Corona SDK

Hmm, no answer on this?

[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,925 posts
  • Enterprise

Corona draws an image on top of a black background.  I believe we use a 1536x1536 or so.  If your image is smaller than the screen size, there will be a black background behind it. 

 

If you need something other than a black background, I would disable the splash screen and show your own screen in main.lua where you can control the default background color to match your screen and then show as small of an image that you need to achieve the logo you want to display.

 

Rob



[TOPIC: post.html]
#4

csavalas

[GLOBAL: userInfoPane.html]
csavalas
  • Contributor

  • 108 posts
  • Corona SDK

Is it necessary to include multiple sizes, (@4x, @2x, etc), or do we just include the one full size image? Thanks.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,925 posts
  • Enterprise

Just the one image is fine. The splash screen doesn't use @2x type prefixes.




[topic_controls]
[/topic_controls]