fresco icon indicating copy to clipboard operation
fresco copied to clipboard

roundedCornerRadius does not work

Open skywalkerlw opened this issue 11 years ago • 3 comments

I include roundedCornerRadius into the xml file and fetch a remotely JPG format file(http://www.pngspecialists.com.au/wp-content/uploads/2014/07/PNG_Trade_Slider_OnlineTraining.jpg) but no rounded affect comes.

<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/my_image_view" android:layout_width="220dp" android:layout_height="220dp" fresco:fadeDuration="300" fresco:roundedCornerRadius="10dp" />

skywalkerlw avatar Mar 27 '15 04:03 skywalkerlw

Have you added the namespace to the top-level element in the XML file? xmlns:fresco="http:/schemas.android.com/apk/res-auto

plamenko avatar Mar 27 '15 05:03 plamenko

Yes i added the namespace but not working.

tapanmodh avatar Mar 27 '15 11:03 tapanmodh

It looks as though the issue is a typo in the documentation. It should be http://schemas.android.com/apk/res-auto rather than http:/schemas.android.com/apk/res-auto (note the extra '/')

IanChilds avatar Mar 27 '15 13:03 IanChilds