All Questions
Tagged with android-vectordrawable android-5.0-lollipop
9
questions
1
vote
0
answers
169
views
Resource not found error for vector drawable in android 5 and 5.1
Hi,
I am using binding adapter methods to pass 1 imageUrl and 1 placeHolder drawable in image view like this.
and my binding adapter method is like this:
and here is my vector drawable:
it works ...
3
votes
2
answers
895
views
VectorDrawable crashing my app in Lollipop 5.0.1
I'm trying to use a VectorDrawable selector in one of my Fragments. However, the app gets crashed showing this error -
Exception while inflating vector
...
0
votes
2
answers
2k
views
SVG/VectorDrawable issue in android
I have used svg files in my Android project. There are issues in Android 4.4 or lower versions. I have tried these solutions app:srcCompat, vectorDrawables.useSupportLibrary = true in gradle file and ...
0
votes
3
answers
319
views
Vector icon not show on Lollipop and above
I have design a colored vector icon that use in my app.
Why that icon showed on pre lollipop version but not on above? Look:
This is my custom vector icon designed in inkscape:
<?xml version="1.0"...
0
votes
0
answers
193
views
Vector image mangled on Lollipop and newer devices
I'm loving the VectorDrawable in Android, but some of the Drawables imported from svg are not displayed properly in Android studio and Lollipop+ devices. However, the generated PNGs are fine, so the ...
2
votes
0
answers
977
views
Android 5.0: Programmatically alter scaleX attribute on VectorDrawable at runtime
I am trying to work with Android Lollipop's new VectorDrawable APIs to have images scale dynamically at runtime(getting smaller and larger depending on application state). As I understand, the scaleX ...
4
votes
1
answer
5k
views
VectorDrawable on ImageButton is ugly
I've the following ImageButton:
<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fireButton"
android:layout_width="fill_parent"
android:...
0
votes
1
answer
367
views
XmlResourceParser returns diffrent count of attributes on Lollipop
I'm playing with the new vector xml drawables on older platforms like Kitkat or Gingerbread. I have an image like this:
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://...
3
votes
2
answers
2k
views
When to use VectorDrawable?
Android Lollipop has introduced several new classes, one of them being VectorDrawable. I was just wondering when will it be suitable to use VectorDrawable over a bitmap image knowing VectorDrawable ...