concept pixel in category nativescript
appears as: pixels, pixel, pixel

This is an excerpt from Manning's book NativeScript in Action.
Screen resolution is a measure of the number of pixels on a screen, usually described in the form of width x height. For example, a screen resolution of 640x480 means the screen is 640 pixels wide and 480 pixels high.
To add a grid layout to a page, you add the
<GridLayout rows=”...” columns=”...”>element. You will also notice thewidth=”300”andheight=”450”properties. You haven’t learned about these properties yet, but they are named well and self-explanatory. Width and height describe their exact purpose: to set the layout’s width and height to a given number of pixels.