在Android中,默认情况下ImageView是一个矩形.如何在ImageView中将其设置为圆角矩形(将我的Bitmap的所有4个角切掉为圆角矩形)?
android rounded-corners imageview android-image android-imageview
我有一个位图,我想从这个位图裁剪一个圆形区域.圆圈外的所有像素都应该是透明的.我怎样才能做到这一点?
graphics user-interface android android-layout
android ×2
android-image ×1
android-imageview ×1
android-layout ×1
graphics ×1
imageview ×1
rounded-corners ×1
user-interface ×1