Before you start making an app responsive, go to Settings > Display and disable Scale to fit, Lock aspect ratio, and Lock orientation
With a responsive design, the location and size of each control is defined using formulas instead of using fixed pixel values. These formulas typically use the Parent operator
In the simplest case, for example to make a rectangle icon fill an entire screen, place the control on the screen and set the control’s properties to these values:
Property | Value |
X | 0 |
Y | 0 |
Width | Parent.Width |
Height | Parent.Height |
Because the control’s parent is the screen, Parent.Width and Parent.Height refer to the size of the screen, which in turn depends on the size of the window, or form factor on which the app is being viewed
As you construct screens that contain more controls, it isn’t practical to define the position and size of every control to the screen
Instead, by organizing controls into a hierarchical structure using containers, you can make your formulas easier to write and maintain. This way the screen can be broken down into subsections
Containers are the building blocks of responsive design. They should have their own responsive properties and settings to specify how they are positioned or resized on different screen sizes