//加载圆形图片
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);             }         });

  

相关文章:

  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2022-01-18
  • 2021-07-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2021-06-11
  • 2021-11-17
  • 2022-12-23
  • 2021-08-10
相关资源
相似解决方案