P.S. but setting ImageView1.Height to half should be just a test, I think, to see if the problem is this, because I don't want to halve the height of a view depending on the device.
Maybe I should to halve the GetDeviceLayoutValues.Height when I calculate Distance in the code I posted in #21.