1
vote
SVG pixelized edges in Android Jetpack Compose
Without seeing the detail of what's in the SVG image and the resultant xml file, it's difficult to say what went wrong.
It sounds to me like there is something in the SVG that is not supported in the ...
1
vote
Jetpack Compose: Custom VectorAsset Icon object similar to built-in `Icons.Default`
The approach that worked for me was adding a @Composable getter to the fields, like so:
object Icons {
val Close: VectorIcon
@Composable get(): ImageVector.vectorResource(R.drawable.close)
}...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
android-vectordrawable × 710android × 697
svg × 106
android-drawable × 82
android-studio × 60
xml × 58
android-layout × 48
android-support-library × 43
vector × 41
java × 38
android-animation × 36
animation × 33
drawable × 27
kotlin × 26
imageview × 20
android-appcompat × 20
android-jetpack-compose × 19
android-resources × 18
vector-graphics × 17
animatedvectordrawable × 17
android-gradle-plugin × 9
icons × 9
material-design × 9
android-5.0-lollipop × 9
android-imageview × 8