Hello!
I have a 7" PX5 Android 10 car multimedia system with a resolution 1024 X 600 (fixed landscape orientation).
According to:
the screen size is 4.945" and it causes problems to my app because I need to detect the right diagonal.
Is it something wrong or I'm missing something?
Is there any other way to detect the right screen size?
Thank you in advance!
I have a 7" PX5 Android 10 car multimedia system with a resolution 1024 X 600 (fixed landscape orientation).
According to:
B4X:
Sub GetDevicePhysicalSize As Float
Dim lv As LayoutValues
lv = GetDeviceLayoutValues
Return Sqrt(Power(lv.Height / lv.Scale / 160, 2) + Power(lv.Width / lv.Scale / 160, 2))
End Sub
Is it something wrong or I'm missing something?
Is there any other way to detect the right screen size?
Thank you in advance!