(You should use Code tags when posting source code)
This is your code:
B4X:
FixV = PositionHeight
If ImageView1.Height = 1691 Then
Else If ImageView1.Height < 1691 Or ImageView1.Height > 1691 Then
VertAdj = ImageView1.Height / 1691
PositionHeight = FixV * VertA
1 - you should use dips (1691dip)
2 - no code after that "Then"?
3 - the "Else If line" can be replaced with "Else"
4 - 1691: Why???
You should only calculate the base/height ratio of the content to be displayed and exploit the maximum portion of the display possible while maintaining that proportion, unfortunately leaving unused spaces.
This is exactly what I was writing in the Italian forum. Old TV programs recorded in 4:3 format, viewed on today's TVs,
ALL 16:9, have black bars on the sides.
Thank you, display manufacturers, don't standardize displays, like those on TVs, you risk getting sick! ? ? ? ? ? ? ? ? ? ?