MrMC / mrmc

MrMC Main Repository - By using this code you agree to follow the GPLv2 license.
http://forum.mrmc.tv
Other
186 stars 68 forks source link

wrong display size on fireOS tablets #13

Closed MrMC closed 7 years ago

MrMC commented 8 years ago

On fireOS tables (hd for example), the 'native display' is reported as 1280 x 752 which is screen minus task bar at bottom. The real size is 1280 x 800. As the task bar is hidden, this results in the display mapping being slightly off and touches been to be offset up a little to get seen.

TODO: fix it such that we use the full size as the task bar is hidden and slides up over gui when needed.

koying commented 8 years ago

Did you try getWindow().getDecorView().getWidth() ?

MrMC commented 8 years ago

getDecorView returns the size assuming the task bar is up.

MrMC commented 7 years ago

should be fixed