I have a button at the bottom of my screen that is not showing all the way. I have tested this on an emulator and it seems fine but on my device it isn't showing correctly. Below is the code I am using.
GetDeviceLayoutValues returns the screen dimensions. The actual available space for your application is smaller because of the title bar. You should instead use Activity.Width and Activity.Height.