Designs on the computer give an approximation how it looks on the phone. Every phone has different dimensions and theme. Give more info by first readin the topic i linked too.
Hello Hedi. The solution is to position and size most components as percentage of screen. This is because the devices (e.g. smartphones) are all different sizes.