fresco icon indicating copy to clipboard operation
fresco copied to clipboard

When Change Border Color, the image not display

Open zhangtengchao opened this issue 11 years ago • 4 comments

GenericDraweeHierarchy hierarchy = viewHolder.mIvAvatar.getHierarchy();
RoundingParams roundingParams = hierarchy.getRoundingParams();
roundingParams.setBorder(getResources().getColor(R.color.orange), width);
hierarchy.setRoundingParams(roundingParams);
viewHolder.mIvAvatar.setHierarchy(hierarchy);`

qq 20150519142602

How should i do?

zhangtengchao avatar May 19 '15 06:05 zhangtengchao

Can you paste the XML as well?

plamenko avatar Jun 12 '15 15:06 plamenko

<com.facebook.drawee.view.SimpleDraweeView fresco:roundingBorderColor="@color/white" fresco:roundingBorderWidth="@dimen/main_item_comment_avatar_rounding_border_width" fresco:roundAsCircle="true" fresco:fadeDuration="300" fresco:failureImage="@mipmap/default_avatar_stroke_white" android:id="@+id/iv_comment_avatar" android:layout_width="@dimen/main_item_gallery_avatar_width" android:layout_height="@dimen/main_item_gallery_avatar_width" />

zhangtengchao avatar Jun 16 '15 03:06 zhangtengchao

I don't understand the attached image. Where is the background image coming from? or is this the actual image? What are those red circles?

plamenko avatar Jul 08 '15 13:07 plamenko

Reaping.

tyronen avatar Dec 11 '15 13:12 tyronen