ImageView circular

2

How to construct a ImageView that is round like the example below?

    
asked by anonymous 29.10.2014 / 17:53

1 answer

2

Friend you can use the AQuery library to add the circular format to an image, among other cool things like image loading, loading etc.

link

Download API: link

To add the rounded-corner to an ImageView, do the following:

AQuery aq = new AQuery(this);

// Image URL to download
String url = "http://www.vikispot.com/z/images/vikispot/android-w.png";

ImageOptions options = new ImageOptions();
options.round = 15;

aq.id(R.id.image).image(url, options);
    
29.10.2014 / 17:59