Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

166
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda