Tom*_*ski 10
ImageView imageView = (ImageView)findViewById(R.id.imageview);
Drawable drawable = imageView.getDrawable();
Rect imageBounds = drawable.getBounds();
Run Code Online (Sandbox Code Playgroud)
然后使用Matrix.mapRect.
| 归档时间: |
|
| 查看次数: |
4964 次 |
| 最近记录: |