Skip to main content

Questions tagged [android-vectordrawable]

A VectorDrawable is a vector graphic defined in an XML file as a set of points, lines, and curves along with its associated color information.

android-vectordrawable
0 votes
1 answer
26 views

SVG pixelized edges in Android Jetpack Compose

I converted the logo from SVG to XML in Android Studio. One change I had to make was replacing 'Fill' with '#pattern' with 'FillColor' because #pattern is not supported in Android. I don't think that ...
StonedCodingTom's user avatar
0 votes
1 answer
72 views

How to see / view the Android vector drawable XML?

How can I visually see a picture from an Android vector drawable XML? I disassembled the Apk-file, and now I want to replace the icons, but how can I visually see them in the code. Is there a program ...
denbon's user avatar
  • 19
1 vote
1 answer
31 views

How can I make AnimatedImageVector animate a single path a time with jetpack compse?

I am using SVG file that contains 33 paths and every path is a circle drawable.xml: <group android:name="circle1" android:pivotX="242" android:pivotY="242" ...
Mohamed ALI's user avatar
2 votes
0 answers
253 views

Jetpack Compose displaying Adaptive Icon Painter Resources: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG, WEBP

I'm trying to display launcher icon of the app: Image( modifier = Modifier.size(24.dp), painter = adaptiveIconPainterResource(id = R.mipmap.ic_launcher_round), contentDescription = ...
user924's user avatar
  • 11k
1 vote
0 answers
21 views

How to use MaterialTheme.colorScheme.primary inside a vector?

I have this vector: <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="100dp" android:height="100dp" android:viewportWidth=&...
The One's user avatar
  • 71
0 votes
0 answers
57 views

Cut out part of a vector drawable path

I have this xml vector drawable: <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:...
Quinn's user avatar
  • 8,346
0 votes
0 answers
23 views

How to make the canvas not square?

I have a vector image in my android app: <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="800dp" android:height="800dp" ...
VanechikSpace's user avatar
0 votes
1 answer
41 views

what tint value for vector asset should be set?

When adding an icon using right click on res folder -> new -> Vector Asset in android studio, color value(this is equivalent to android:tint in xml file once it is added to drawable) set to #...
foseja's user avatar
  • 306
0 votes
0 answers
34 views

How to fill color in the inside transparent portion of vector drawable without filling color in the outside rectangualar bounds of it?

In the above vector drawable, I can modify the tint of the solid portions of the drawable using say green color and apply it using PorterDuff.Mode.SRC_ATOP. But I can't seem to apply a color inside ...
Satty's user avatar
  • 65
0 votes
1 answer
23 views

how to create a vector drawable for a document in a circle in Android

how can I draw a vector drawable of a document in a circle which looks like this please or something similar Thanks R
BRDroid's user avatar
  • 4,248
0 votes
1 answer
594 views

Jetpack Compose App crashed when updated from previous version

My app crashes when updated from previous version with Exception: java.lang.IllegalArgumentException: Only VectorDrawables and rasterized asset types are supported ex. PNG, JPG It runs fine when new ...
Harsh Nandwani's user avatar
3 votes
0 answers
54 views

Issue with Gradient Drawable on Android 6 Marshmallow while using Splash Screen API

I recently migrated my existing splash screen activity to the Splash Screen API, which offers backward compatibility up to API 21. I'm utilizing a vector drawable for the splash screen icon, and it's ...
Dayakargoud Bandari's user avatar
0 votes
0 answers
46 views

Is there a way to organize my drawables in android studio?

Since I can't have directories in my res/drawable directory, how can I organize my drawable folders like buttons, icons, images, bg_images, etc. How to have an organized folders for the drawable. I ...
Tristan Ehron Tumbaga's user avatar
0 votes
2 answers
67 views

How to make EditText and Button have this colored border?

How can make EditText with this border and Button with this border. I could not find do this with drawable. I use ImageView with this. But I can not use ImageView for EditText. How can do this?
Ahmet Yılmaz's user avatar
0 votes
1 answer
36 views

Android complicated schematic view

I need to make an interactive research fragment for my game and got an SVG file exported from Figma with all the rects, circles, texts, etc. It must be scaleable (zoomeable via touch input), draggable ...
Nikitiy's user avatar
  • 35

15 30 50 per page
1
2 3 4 5
48