I have a graphic for a Splash Screen
@Composable
fun SplashScreen() {
Column(
modifier = Modifier.fillMaxSize(),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
) {
Icon(
imageVector = ImageVector.vectorResource(R.drawable.rastergrafik),
contentDescription = "",
)
}
}
This is straight forward so far. Also if you hover over R.id.rastergrafik, the graphic gets shown in the way it should:

But in the app it looks like this:

Does anyone know whats going on? Is it a problem if I show it as an Icon? The same vector also works fine as app logo.
Add
tint = Color.UnspecifiedReason
From the
Iconsource code,So a default
tintis applied to the icon provided.