*# Version 1 *
I create this sample to help developers to create imageview with rounded corners.
To Use It :-
First Set RoundedImageView in your Layout like this :-
then set this line "xmlns:RoundedCornersImageView="http://schemas.android.com/apk/res-auto" in your parent layout
and And these lines in attrs file in /values. # Note if there 's no attrs file create it
<attr name="corners" format="dimension" />
private RoundedCornersImageView roundedCornersImageView;
roundedCornersImageView = (RoundedCornersImageView) findViewById(R.id.imageView);
roundedCornersImageView.setImageDrawable(getDrawable(R.drawable.pic_1));