fresco框架加载图片时,设置圆角属性roundedCornerRadius,图片显示异常
fresco框架加载图片时,设置圆角属性roundedCornerRadius,图片显示异常 ,如下图所示:

SimpleDraweeView 属性设置如下:
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/simple_drawee_view" xmlns:fresco="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" fresco:actualImageScaleType="centerCrop" fresco:failureImageScaleType="centerCrop" fresco:failureImage="@drawable/phone_banner_def_common_bg" fresco:placeholderImageScaleType="centerCrop" fresco:placeholderImage="@drawable/phone_banner_def_common_bg" fresco:retryImageScaleType="centerCrop" fresco:retryImage="@drawable/phone_banner_def_common_bg" fresco:roundedCornerRadius="5dp" fresco:roundTopLeft="true" fresco:roundTopRight="true" fresco:roundBottomLeft="true" fresco:roundBottomRight="true" />
- 去掉fresco:roundedCornerRadius 属性后,图片显示正常。
我也遇到了这个问题