final Bitmap src = BitmapFactory.decodeResource(getResources(),R.drawable.pic); picWidth= src.getWidth();
android 动态获取图片宽度
最新推荐文章于 2021-05-26 03:34:32 发布
final Bitmap src = BitmapFactory.decodeResource(getResources(),R.drawable.pic); picWidth= src.getWidth();