I've tested on several other devices and my UI looks fine.
However on the Samsung Note 3, the UI is getting cut off on the bottom.
I have logged the system specs and done the math. I have the screen height of the device at 1920.
I have a button that is sized at 108 x 108.
I want that button resting on the bottom of the screen (I am not using XML, I am using Java).
_button.setMinimumHeight(buttonDimension);
_button.setMaxHeight(buttonDimension);
_button.setY(1920 - 108);
However this results (on only the Samsung Note 3) in the bottom of the button being cut off. Also if I try to right align there is a slight cut off there too. It looks like its off by about 25 pixels on the bottom.
What is going on here?
It looks like Samsung considers a smaller area below and to the right of the actual rendering window as part of the 'screen height'.
Do you know how I can get the actual display height of the screen in cases where its off from the reported value?
If I use layoutparams and align to bottom, it does work perfectly but I need it to work with the pixel data.