Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

127
Vistas
Jetpack splash screen Icon is not getting displayed when dark mode ON

I have created a launch screen using Jetpack splash screen API everything is working fine except the windowSplashScreenAnimatedIcon is not getting displayed when the dark mode is turned on.

Even though I'm using the material day light theme, forcefully opted light as default theme (AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO))

I 'm aware of the considerations for the app icon detailed on the google developer portal,

<style name="Theme.App.Starting" parent="Theme.SplashScreen">
    <item name="windowSplashScreenBackground">@color/white</item>
    <item name="windowSplashScreenAnimatedIcon">@drawable/splash_content</item>
    <item name="windowSplashScreenAnimationDuration">500</item>
    <item name="postSplashScreenTheme">@style/Theme.Main</item>
</style>

Any help will be really appreciated.

Thank you

9 months ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos