Reputation: 1
I would like to know how can I crop , scale and rotate a ImageView that have a scaled background image using a fixed width and height on it's parent.
Upvotes: 0
Views: 1171
Reputation: 3964
To crop (get subImage) see the following thread:
How to Cut a ImageView to a subimage in the range of four specified points
For scale and rotate use Matrix with setScale and setRotate.
This forum has a number of threads discussing relevant topic, e.g.
Android - Rotate image around center point?
Before publishing a question you better look around :)
Upvotes: 1