Status Update
Comments
nc...@gmail.com <nc...@gmail.com> #2
The splash screen is dismissed as soon as the app is drawn and doesn't wait for the animation to finish which might be the reason why the animation doesn't repeat.
At most, the icon will animate for the value set in windowSplashScreenAnimationDuration
.
If that's not the case, can you please share your theme values and icon file? or at least a reproduction sample?
Description
I have a ColorStateList
color/my_color.xml
defined like this:And
color/my_other_color.xml
:When I get the default color for the first with:
The results are:
Clearly something doesn't work pre API 23. I did a bit of debugging and it seems the issue is on these lines of :
ColorStateListInflaterCompat
Why is a platform method used to resolve color value? Shouldn't
AppCompatResources
be used here, and if that fails, thenTypedArray.getColor
?