-3

I am getting image urls from server with square shape I have to make it to rounded corner images.Actually I am using volley library ,I know how to create round corner images using universal image loader and picasso libraries.In volley library I am setting image in network imageview like setimageUrl please help me

holder.ivImage.setImageUrl(url, imageLoader);
Prashanth Debbadwar
  • 1,047
  • 18
  • 33
  • use this [Library](https://github.com/hdodenhof/CircleImageView). – Harin Apr 03 '15 at 13:55
  • please read question(sorry if question is not clear) clearly. I am using com.android.volley.toolbox.NetworkImageView then how can I use de.hdodenhof.circleimageview.CircleImageView – Prashanth Debbadwar Apr 03 '15 at 13:59

3 Answers3

0

I found an source code which makes imageview rounded shape e.g. https://github.com/hdodenhof/CircleImageView. which was extending imageview, I just make it extend NetworkImageView. Everything working fine for me.

Prashanth Debbadwar
  • 1,047
  • 18
  • 33
  • It is working well you can find same question here. http://stackoverflow.com/questions/25283373/how-to-create-round-corner-image-using-volley-library-android/30054566#30054566 – Prashanth Debbadwar Sep 11 '15 at 09:26
-1

use RoundedBitmapDrawable to make a rounded image, this way it does not matter what kind of imageview you use

tyczj
  • 71,600
  • 54
  • 194
  • 296
-1

This project could be useful for you RoundedImageView

ancar31
  • 172
  • 2
  • 8