Android Question Resize and centre imageview


New Member
Licensed User
Longtime User

I'd like to be able to use a seek bar to resize an imageview while keeping the imageview in the shape of a square, while keeping the image view centred on the screen. I need to be able to set the imageview's width and height within the code initially too, so it can be manipulated that way (by using a seek bar).

Any ideas on how would I go about doing that?