.. _xml_screens: ======= Screens ======= Overview ******** Screens work very similarly to components. Both can be: - Loaded from XML - Contain widgets and components as children - Have ```` - Have ```` - Have a ```` However, screens **cannot** have an ````. Usage ***** Each XML file describes a screen. The name of the XML file will also be the name of the screen. In the ``project.xml`` file, multiple ```` elements can be defined. In the UI Editor, when a screen is being developed, the user can select from all the defined displays in the Preview, and the screen will be shown with the given resolution and color depth. This is useful for verifying responsive designs. Example ******* .. code-block:: xml