Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
Why do I get a warning when creating a custom slash screen?

Why do I get this warning when I try to create my custom splash screen? Warning Screenshot

Can I get rid of this without using @SuppressLint("CustomSplashScreen")

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Probably because with android-12 there is a new API to build Splash Screen . You can go through the migration guide if you want to implement new API . If you want keep older one you have to use @SupressLint because you are targeting android-12.

over 4 years ago · Santiago Trujillo Report

0

Why do I get this warning when I try to create my custom splash screen?

You are encouraged to migrate to the SplashScreen API that is available on Android 12, with a backport available in AndroidX libraries (currently alpha).

Can I get rid of this without using @SuppressLint("CustomSplashScreen")

There are some other ways to suppress lint warnings such as using an XML file or configuring it with gradle. In this case I'd prefer the @SuppressLint annotation since it's the most local.

Or, just get rid of your custom splash screen to keep lint happy here.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!