android/player: fix video layout issue and better detection of the screen
dimensions