I follow this example [here][1] to to give circuler shape. I am getting images from server and set it via BaseAdapter
, the image is showing but not in circular view. So, can anyone tell what is the mistake with my code, following is the way I load the images and set circular shape
aQuery.id(holder.propic).image(listData.get(position).get(INTEREST_ACCEPT_IMG),true,true,0,R.drawable.ic_launcher);
Bitmap icon = BitmapFactory.decodeFile(listData.get(position).get(INTEREST_ACCEPT_IMG));
holder.propic.setImageBitmap(icon);
Use this link for library to get circular image view https://github.com/hdodenhof/CircleImageView
And use it in your containt_activity.xml like this:
Add in you Activity or Fragment class: