Good morning,
I would like to request some source of information, tutorial or example, how to resize a photo in an ImageView, because I did not find anything about it in my searches.
I'm developing a test application that performs the following task.
I have an ImageView of 200dp x 120dp, the user clicks a button and takes a photo, that photo is uploaded to the imageview.
Currently, the code is resizing the image until it fits completely in ImageView, however I need it to be loaded whole (cut) and let the user tweak and position it the way they want, before actually "cutting" the image off.The general idea is as follows.
User clicks the photo button and takes the photo (the app loads the device's native application).
The photo is loaded into an auxiliary View, which shows the user the part that will be visible (clearer) and the part that will be discarded (shaded).
The user positions the photo and confirms, then the photo is loaded into the initial ImageView.
If anyone knows some source I can research information to develop something like this, I'm grateful.
Sincerely,