Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Android 12 can background image cover all background or is it only rendered as icon? #318

Closed
adrianvintu opened this issue Mar 21, 2022 · 3 comments

Comments

@adrianvintu
Copy link

adrianvintu commented Mar 21, 2022

On my Samsung Galaxy S10 with Android 10, setting the image to a big image, like flutter_native_splash-master\example\assets\logo_lockup_flutter_vertical.png it only shows it as a medalion circle.

At this address https://developer.android.com/guide/topics/ui/splash-screen I see the splash is a medalion circle.

Is it possible to have a big background like this one logo_lockup_flutter_vertical.png covering all background, instead of being rendered as a medalion icon, on Android 12?

In other words:
Using the documentation here https://developer.android.com/guide/topics/ui/splash-screen

4 The window background consists of a single opaque color. If the window background is set and is a plain color, it is used by default if the attribute is not set.

Can this be an image as well, or only a color?

@jonbhanson
Copy link
Owner

Is it possible to have a big background like this one logo_lockup_flutter_vertical.png covering all background, instead of being rendered as a medalion icon, on Android 12?

What I understand from that documentation is that Android 12 only supports a background color. A background image is not supported.

@adrianvintu
Copy link
Author

@jonbhanson would you be so kind as to add this to the documentation? I spent a lot of time debugging this issue.

@jonbhanson
Copy link
Owner

@adrianvintu can you make a pull request which adds this documentation and I will be happy to merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants