//加载圆形图片 Glide.with(this).load(WSCAppStatic.WEB_KEFU_PHOTO_URL+ "?usercode=8120000315") .asBitmap() .centerCrop() .into(new BitmapImageViewTarget(iv2) { protected void setResource(Bitmap resource) { RoundedBitmapDrawable circularBitmapDrawable = RoundedBitmapDrawableFactory.create(getApplicationContext() .getResources(), resource); circularBitmapDrawable.setCircular(true); iv2.setImageDrawable(circularBitmapDrawable); } });