centre of the imageView will be
centreX=imageView.getX() + imageView.getWidth() / 2;
centreY=imageView.getY() + imageView.getHeight() / 2;
but make sure you call it after the imageView created
centre of the imageView will be
centreX=imageView.getX() + imageView.getWidth() / 2;
centreY=imageView.getY() + imageView.getHeight() / 2;
but make sure you call it after the imageView created