I’m having a small problem with an Iconia Smart S300 : I can’t properly detect the screen size. To do that, I use :
The problem is, the device resolution is 480x1024 (yup, that’s a 21:9 ratio), but with above line I get 480x854. The remaining size stays black at the bottom of the screen.
I only tried in portrait mode yet. The device runs Android 2.3.3 and everything works fine otherwise.
I tested my code against many other Android device, ranging from Android 2.2 to 4.2.2 and from 240x320 to 1280x800, and this one in particular is the only one to return an improper size.
Does anyone have an idea where it could come from, or encountered the same problem ?