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).