Jump to content
vrelisean

Android splash screen positioning

Recommended Posts

Hi. I have a problem with centering the splash screen display on Android, as shown in the following image:

splash-screen.thumb.jpeg.245b4971b00d7c2ad9932a4846b89bb5.jpeg

 

It's the original FMX image, and it's not centered on the screen, even though it should be according to my settings:

Splash tile mode: clamp

Splash gravity: center

 

I've also tried with every other option available (such as fill, clip_horizonal/vertical...), but with no success. 

Has anyone ran into this issue, and does anyone know how to fix it?

 

Share this post


Link to post
Guest
6 hours ago, vrelisean said:

Has anyone ran into this issue, and does anyone know how to fix it?

Project > Options > Application

Tile mode

Description
disabled The image appears once in the screen.
clamp The color at the edge of the image is replicated to fit the screen.
repeat The image is repeated horizontally and vertically to fit the screen.
mirror The image is repeated horizontally and vertically to fit the screen with a mirror effect on alternate images.

See the Android Tile Mode documentation for more information.

Splash gravity: The splash gravity indicates the position of the image on the screen when the image is smaller than the screen. Splash gravity is taken into account only when Splash tile mode is disabled. See the Android Gravity documentation for more information

 

hug

Share this post


Link to post
On 3/6/2021 at 12:52 AM, emailx45 said:

Project > Options > Application

Tile mode

Description
disabled The image appears once in the screen.
clamp The color at the edge of the image is replicated to fit the screen.
repeat The image is repeated horizontally and vertically to fit the screen.
mirror The image is repeated horizontally and vertically to fit the screen with a mirror effect on alternate images.

See the Android Tile Mode documentation for more information.

Splash gravity: The splash gravity indicates the position of the image on the screen when the image is smaller than the screen. Splash gravity is taken into account only when Splash tile mode is disabled. See the Android Gravity documentation for more information

 

hug

Thanks for the reply. So if I got this right, there is no possible way to use a background color other than complete black, and at the same time have it centered? Because I'd need to set the tile mode to 'clamp', but then I won't be able to center the image. Correct?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×