Klaus,
For information only:
Bottom line...thank you for your help, and LucaMs too. You guys are great!!!!
Using your and LucaMs's GetDevicePhysicalSize example I get the following results:
GetDevicePhysicalSize = 9.433980941772461 for my Samsung 10.1", 1280x800, scale 1, 160dpi, Android 4.4.2
GetDevicePhysicalSize = 7.823681831359863 for my Rio 9.7", 1024x720, scale 1, 160dpi, Android 4.0.4
GetDevicePhysicalSize = 7.624594688415527 for my Rio 7", 800x444, scale 0.75, 120dpi, Android 4.0.4
So, it appears the formula is not that accurate, however, when I divide lv.ApproximateScreenSize by GetDevicePhysicalSize I get very good aesthetic results, better than dividing by just 10 or 7. My button text now appears proportional across all three screen sizes. I noticed at BestBuy there is an 8" screen on the market too. When will the madness end?
I am also using my TextSizeRatio value for resizing my button widths across the three devices with good success. I don't know if this is recommended but it works. ie;
Dim lv As LayoutValues
lv = GetDeviceLayoutValues
TextSizeRatio = lv.Approximatescreensize / ScreenSize
EspBtn.TextSize = EspBtn.TextSize * TextSizeRatio
EspBtn.width = EspBtn.width * TextSizeRatio
Public Sub ScreenSize 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
Thanks again for the help.
Chuck