bitmap?.let {
cropimg = Bitmap.createBitmap(
it,
0,
56+28,//each mobile has different height of actionbar and status bar
it.width,
it.height -(56+28)
)
}
我正在拍摄手机屏幕的截图,结果我得到了位图
我想从该位图中裁剪状态栏或导航栏 怎么做?我尝试了上述解决方案,但它不准确。