It is a difficult task to be honest. Most iPhone developers use a fixed screen size, but we Android developers must solve this problem. I can recommend several practices that follow
- Try not to use a fixed height and weight as much as you can
- Stick to a linear layout if the layout is not complicated. Switch to relative layout only when it is truly required.
- Use Wrap and fill in the parent than specify fixed sizes.
These are the few that I can think of.
source share