素级专题

Android BitmapDrawable.bitmap与BitmapFactory.decodeResource获取不到原始图像素级真实宽高,Kotlin

Android BitmapDrawable.bitmap与BitmapFactory.decodeResource获取不到原始图像素级真实宽高,Kotlin   当一个图片放在ImageView里面后,用以下方式获取图的宽高: val bmp1 = (this.drawable as BitmapDrawable).bitmapLog.d("fly", "bmp1 w=${