All Questions
Tagged with android-vectordrawable android-imageview
8
questions
1
vote
0
answers
69
views
Android Vector Drawable with ImageView: the image is being cutted at the bottom
I have the following svg (vector file):
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="18dp"
android:height="3dp"
...
0
votes
0
answers
81
views
Android: ImageView with svg looks blurry
I'm many svg exported from Adobe illustrator, it only have a size of 9.36*10.8.
When I use the xml vector of this svg (converted by Android Studio) as the src of ImageView with a size of 19.5dp * 22....
1
vote
1
answer
128
views
Clear tint on a vector drawable programmatically?
I'm trying to toggle the tint of an ImageView whose source is a vector drawable:
<ImageView
android:id="@+id/iv_lightbulb"
android:layout_width="wrap_content"
...
0
votes
2
answers
1k
views
How to get VectorDrawable path click listener event from imageview in kotlin
I am showing one image view that showing a svg map. my requirement is to get particular svg path click event. i don't know what is the process or any idea about this scenario
this is my xml
<...
0
votes
2
answers
401
views
Vector drawable InflateException
I have the vector drawable file(start on emulator API version 25):
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width=...
0
votes
0
answers
453
views
Download .svg or .xml to internal memory and show it in ImageView
I need to download vector images from server and display them in ImageViews. I succesfully downloaded the images to external storage, but now I'm having a problem displaying them.
I'm using a SVG ...
6
votes
1
answer
3k
views
Load a vector drawable into imageview from sd card
I want to show a vector image (say vectorimage.xml) in an imageview from the sd card. Please throw some insight on how to do this in android.
What I have tried already :-
String imagePath = ...
3
votes
2
answers
561
views
Update Android Support Library to 23.2.0 using VectorDrawables with srcCompat on API 21+
It's wonderful that pre-lollipop devices now can use VectorDrawables by using Support library 23.2.0. Though I have image display issue on API 21+, but everything works fine on lower devices. I'm ...