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
61 views

Vector drawable scaling in ImageView on Android

I got a kind of schematic presentation of data that is stored as a vector drawable, obtained from an original image in SVG format. I need to zoom it in and out, but after changing scaleX and scaleY ...
Nikitiy's user avatar
  • 35
-1 votes
1 answer
123 views

Android Studio Vector Asset: Error while parsing ****.svg- Not a proper SVG file

When I try to import my SVG through Android Studio, I get this error: Error while parsing image.svg - Not a proper SVG file Where can I find more information about what actually went wrong? I've tried ...
VIN's user avatar
  • 6,786
0 votes
2 answers
172 views

How to change color of drawable ImageView android kotlin

i have a vector icon in my drawable package ic_vector_point_image: <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="10dp" android:height=...
onesector's user avatar
  • 410
0 votes
0 answers
20 views

Does the scaled down large drawables result in final apk size and RAM usage?

I wonder is there any difference between two 24dp x 24dp vector drawables one with coordinates range between 0 to 24 and another with coordinates range between 0 to 2400 and with appropriate view ...
user21193451's user avatar
0 votes
0 answers
17 views

About dynamic generation and loading of VectorDrawables

I'm in the development of an android app that needs to show VectorDrawables in a dynamic fashion, so I wrote a C library that outputs these for me based on an input string. I also integrated the usual ...
user1476851's user avatar
0 votes
1 answer
200 views

Vector graphic does not show properly

I have a graphic for a Splash Screen @Composable fun SplashScreen() { Column( modifier = Modifier.fillMaxSize(), verticalArrangement = Arrangement.Center, ...
Chris Pi's user avatar
  • 582
2 votes
4 answers
606 views

Rotate ImageVector in Compose

I'm storing a material icon in a data class like so: import androidx.compose.ui.graphics.vector.ImageVector data class Item( val icon: ImageVector ) val item = Item(Icons.Filled.Send) The item ...
Marsroverr's user avatar
1 vote
1 answer
677 views

Jetpack Compose: AnimatedImageVector not Animating

Please, I need help resolving this issue. I am trying to get a drawable vector to animate by rotating it. The drawable vector displays but it doesn't rotate as expected. Thanks in advance! Below are ...
Trailblazer's user avatar
0 votes
1 answer
30 views

How to create an andoid Vecor Asset from any image I have?

I have some icons as png that I want to create a vector asset for. Let's say I want to create a heart; I found this code on StackOverflow: <vector xmlns:android="http://schemas.android.com/apk/...
Mesameh's user avatar
  • 33
1 vote
1 answer
192 views

Path traversal animation in Shape-Shifter

I am using ShapeShifter at ShapeShifter I want to create a vector animation where a small rectangle traverses the border of a rectangle. Sounds like an easy animation to create! Shapeshifter provides ...
i_o's user avatar
  • 789
0 votes
1 answer
282 views

Setting a vector drawable to meet the Splash Screen API requirement

Using the Android Splash Screen API,the requirements for putting an icon with no background on splashcreen is this: "App icon without an icon background: this must be 288×288 dp and fit within a ...
lanezalbryt's user avatar
0 votes
1 answer
608 views

Resources$NotFoundException: Resource ID

I am trying to figure this issue but I don't understand why my Vector/png drawable is missing when I put them all in respective directory/folder. Here is the below logs. Fatal Exception: android.view....
Pratik's user avatar
  • 30.7k
1 vote
2 answers
648 views

Why is Android rendering the vector drawable for the splash screen wrongly?

Using following vector drawable in a splash screen the image renders completely wrong and truncated. I tried changing the width and height many time but no difference. Other drawables don't present ...
David's user avatar
  • 4,607
2 votes
0 answers
29 views

Saving photo with transparent background to Contacts

I want to add a contact to the android contacts database which is working fine. As a Contact Photo there is a Vector from resource which gets converted to a Bitmap and then into a ByteArray like this: ...
Chris Pi's user avatar
  • 582
0 votes
1 answer
80 views

Passing an XML vector image between activities

I am trying to pass an icon from an icon selection page, back to my creation activity where I then update the image and object to be created. I have tried a few different methods on a half dozen posts ...
Luke Mills's user avatar

15 30 50 per page
1
2
3 4 5
48