title: how to Use RoundedImageView For Picasso in android
body: <p>i Want To Load Image From Picasso Library in RoundedImageView</p>
  
  <p>I am Taking Refrence From <a href="https://github.com/vinc3m1/RoundedImageView" rel="nofollow">https://github.com/vinc3m1/RoundedImageView</a></p>
  
  <p>I Really Unable To Understand How To Use For RoundedImageView </p>
  
  <p>Can You please Tell Me How To use..I m Unable To understand..how to use</p>
  
  <p>When I set Layout </p>
  
  <pre><code>&lt;com.makeramen.RoundedImageView
          xmlns:app="http://schemas.android.com/apk/res-auto"
          android:id="@+id/imageView1"
          android:src="@drawable/photo1"
          android:scaleType="centerCrop"
          app:corner_radius="30dip"
          app:border_width="2dip"
          app:border_color="#333333"
          app:mutate_background="true"
          app:oval="true" /&gt;
  </code></pre>
  
  <p>instead Of ImageView...Giving Error ...</p>
  
  <p>i dowloaded Java.doc.jar of roundedImageview from here
  <a href="http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.makeramen%22%20AND%20a%3A%22roundedimageview%22" rel="nofollow">http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.makeramen%22%20AND%20a%3A%22roundedimageview%22</a></p>
  
  <p>and add to the libs folder and build path</p>
  
  <p>After Adding ...no resourc Found</p>
  
  <p>update</p>
  
  <pre><code>//tv_gender.setText(Gender);
            iv = (ImageView)rootView.findViewById(R.id.imageView1);
          tv_intrseted.setText(IntrestedIn);
      //  Button logout=(Button)rootView.findViewById(R.id.logout);
          RoundedImageView iv = new RoundedImageView(context);
          iv.setScaleType(ScaleType.CENTER_CROP);
          iv.setCornerRadius(10);
          iv.setBorderWidth(2);
          iv.setBorderColor(Color.DKGRAY);
          iv.setMutateBackground(true);
          iv.setImageDrawable(drawable);
          iv.setBackground(backgroundDrawable);
          iv.setOval(true);
  </code></pre>
  
  <p>if I use Like This giving error ..Can not be Resolved RoundedImageView</p>