How to construct a ImageView
that is round like the example below?
How to construct a ImageView
that is round like the example below?
Friend you can use the AQuery library to add the circular format to an image, among other cool things like image loading, loading etc.
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);