Is it possible to animate the bitmap in Android Splash Screen? - android

I have implemented a splash screen for my android app which doesn't have a layout, instead, we are setting the splash screen image through the theme (window background). So is it possible to do an animation where there is no layout available?

Related

How to set splash screen with layout(launch_screen.xml) using expo-splash-screen on bare expo project

I'm trying to set the splash screen using expo-splash-screen on bare expo project, but the doc mentions only setting the splash screen as one image, but I wanted to set the background image with logo image, so I implemented layout named launch_screen.xml, but I'm not sure how to set this layout as splash screen with expo-splash-screen.
Any ideas?

react-native-bootsplash fullscreen image

Any way to set fullscreen image (with complicated shapes) to splash screen to android (react-native) instead background color and icon centered on screen using react-native-bootsplash?
android 12 and higher has limitations with build splash screen
https://developer.android.com/guide/topics/ui/splash-screen

splash screen in flutter

I am new in flutter.I try to write splash screen.In flutter,in Android, there are two separate screens that you can control: a launch screen shown while your Android app initializes(white screen), and a splash screen that displays while the Flutter experience initializes(black screen).I wathed few tutorials,and did few apps with splesh screens.But it doesnt work correctly.My splash screen viewed after white and blak screens.I need to see my custom splash screen instead white and black screens.Is it possibly in flutter?
If you want to change the black and white splash screen color you need to edit the files in the native projects.
Set the background color in the native projects to equal the flutter splash screen background color it will result in a really smooth transition between the native splash and the flutter one.

Splash with 9 patch ruins next activity

I have a splash screen with my company's logo in the center of it with a little progress bar under it.
I launch the splash as the first activity, and before that happens I display an image of the splash (without the progress bar, just the logo) using the app's theme background.
I placed a 9 patch image of the in the app's theme android:windowBackground, and when the extension of that file is .9.png - the splash activity is displayed on the top left corner of the screen in a smaller size.
Changing the extension to .png makes the splash display correctly over the whole screen, but of course my first image is stretch horribly ,because it's much smaller than the screen.
Exmaple:
This is the logo
The picture below is how the app looks when the splash has been loaded and I am using the .9.png extension
The picture below is how the app looks when the splash has been loaded and I am using the .png extension
The pic above is how I want the splash to look, but without the .9.png extension the app looks like this (picture below) before the splash loads
Anybody experienced this issue? Couldn't find it online.
Thanks for the help.
Solved the issue. Instead of changing the app's theme's windowBackground to my 9patch image, I added a new theme with the 9patch background and attached it to my first activity.
So the basic rule is, don't put a 9patch image in the app's theme background. Place it in the first activity's theme instead.
Source for this solution: https://developer.appcelerator.com/question/149184/9-patch-splash-screen-initial-window-does-not-fill-screen

How to make a splash screen that does not shrink when fading

I've followed the steps to make a splash screen as noted here: How to implement splash screen in android
While the splash screen works, I noticed that my splash screen shrinks when it is fading into my main activity. That is, my splash screen starts off as taking the entire screen, and then shrinks into a smaller rectangle as it fades. This is really obvious as my splash screen has a dark background, while my main activity has a white background.
Is there any way to stop this from happening?
Thanks
The real question is "how do I control my Splash Screen animation"? Including zoom in, zoom out, no zoom, fade, rotate, etc.
Here's a good discussion:
zoom out animation in splash screen in android?

Categories

Resources