Radoslaw Juszczyk
03/12/2021, 8:43 AM…res/drawable-xxxhdpi/ic_test.png
the code I use:
Image(painter = painterResource(id = R.drawable.ic_test), contentDescription = "Test")
produces this exception:
java.lang.IllegalArgumentException: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG
What am I doing wrong?Timo Drick
03/12/2021, 8:47 AMRadoslaw Juszczyk
03/12/2021, 8:52 AM