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?
Related
I'm using a Wallpaper Manager for setting an image as Home screen. It works fine for Lock Screen, but not for Home screen. This image that I want to set as Home screen is as wide and long as the screen, so it gets blurred when stretched across multiple screens. I'd like for this image to be repeated on each screen, not stretched across all. Is there any solution? I'm open to any idea, even if it doesn't include wallpaper manager.
I get it too, bro. But this package have a function called setWallpaperFromFileWithCrop
so you can let user crop image to set wallpaper as you want.
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.
I am working on an App that captures the phone camera feed and display it into a GLSurfaceView and then in the renderer I add ImageViews to the screen in some specific coordinates.
The problem I am facing is that the camera feed in the GLSurfaceView is never full screen. In some Android versions it will put some black space horizontally in the top and bottom and in some other versions the black space will be smaller but vertical on the Left and Right of the screen.
I wanted to ask if there is any way to force fullscreen on every version ? I am fairly new to working with GLSurfaceView and nothing I tried works.
You could look into immersive mode to get rid of the system buttons if that's appropriate to your app: https://developer.android.com/training/system-ui/immersive
You should also look into the android.max_aspect manifest setting to eliminate black bars on very widescreen devices: https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html
You should also look into supporting display cutouts (notches): https://developer.android.com/guide/topics/display-cutout/
As mentioned in the comments by BDL, if the screen and camera aspect ratio don't match, then you are going to have to have black bars, or cut off some content.
I use a splash screen as welcome screen in my app, but after loading the splash screen, it glitches or starts jumping before loading the main XML layout instead of loading smoothly.
I really like the look and feel of the Facebook app's welcome screen, which displays the Facebook logo then smoothly slides upwards to reveal the login screen.
How can I go about replicating this look and feel?
I want to create an effect similar to Facebook Home Lock screen here. Images with Burns effect.
Images(wider than the screen) start with it's left part shown and scroll smoothly to right.
I've tried to View.animate.x(-50.0f) but the image appears cropped when it moves. (I used scaleType=center and the image is larger than the screen)
Any ideas?
Thanks