Every old, current and future smartphone has a specific pixel resolution. For example, here are the resolutions of some smartphones :
To build a graphical view, you have to work on at least one template. A template represents a work area whose dimensions are in pixels. All smartphones will best fit the selected template. It is very simple to duplicate a template that has another resolution in order to best adapt the desired result. The choice of the best adapted template will be made automatically when the smartphone launches the application.