我想知道如何使用固定的宽度和高度在其父级上裁剪,缩放和旋转具有缩放背景图像的ImageView。
答案 0 :(得分:0)
要裁剪(获取子图像),请参阅以下主题:
How to Cut a ImageView to a subimage in the range of four specified points
对于缩放和旋转,请使用带有setScale和setRotate的矩阵。
该论坛有许多讨论相关主题的主题,例如
Android - Rotate image around center point?
在发布问题之前,您最好环顾四周:)