There are several key considerations for multiple devices:
- Make sure your app changes orientation to phones with or without hardware keyboards.
- Display user interface elements in relation to screen size.
In the latter case, if you declare everything using literal pixel values, there is a possibility that the screen of a particular device will be too large or too small to make everything right. However, if you do everything in size relative to the screen size, everything will always be in the right place.
source share