siyamed/android-shape-imageview

CircularImageView not working with drawables

omidgfx opened this issue · 1 comments

CircularImageView not working with drawables
look at this:
screenshot_20161016-051003
not this code:
icon.setImageResource(R.drawable.default_bg);
not even this one:
<com.github.siyamed.shapeimageview.CircularImageView android:id="@+id/icon" android:layout_width="48dp" android:layout_height="48dp" android:src="@drawable/error_bg" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:layout_marginTop="4dp" app:siBorderAlpha="0" app:siBorderWidth="0dp" />

how do I resolve this?
PS. this library is works fine with drawables:
de.hdodenhof:circleimageview:2.1.0
but I need yours...

I'm using Picasso, and it's a big problem for me.
Is there any chance to fix this? PLEASE 😢