The size documentation is pretty bad (an incomprehensible problem ), so you have to dive into the code to understand what is happening. If you look at the source of Dimensions , you will see this comment on line 47:
// Screen and window dimensions are different on android
, , , , .
Android, , , , Android :
Android, , , window height < screen . , , :
Android, , .