RoundedBitmapDrawable bitmapDrawable = RoundedBitmapDrawableFactory.create(view.getContext().getResources(), bitmap); bitmapDrawable.setCornerRadius(finalRadius); // 圆角
bitmapDrawable.setCircular(true); // 圆形 imageView.setImageDrawable(bitmapDrawable);
圆角 RoundedBitmapDrawable
最新推荐文章于 2024-04-09 06:33:54 发布