javiersantos / MaterialStyledDialogs

A library that shows a beautiful and customizable Material-based dialog with header. API 14+ required.
Apache License 2.0
1.17k stars 155 forks source link

setIcon(...) with vector drawables crashes the app #33

Closed krupalshah closed 7 years ago

krupalshah commented 7 years ago

Using vector drawable with setIcon(...) crashes the app on older devices than the lollipop. Looks like library needs to use AppCompatImageViewwithapp:srcCompat attribute now instead of older ImageViewwith android:src.

Albert-Jan commented 6 years ago

Hi,

I just ran into the same issue. Why wasn't this fixed? For animations it's better to use vectors.

Thanks in advance, AJP