5. Creating a Screen
Creating Screens from the Home page
From your application's Home page click
.A list of all the screens in your application will open.
Click
and enter the following details:Name,
Companies List.Open Maximised, leave this ticked as we want our screen to use all available space.
Description, set this to be,
A complete list of all companies.Please select a Template, click on
Tile with Buttons.There are a selection of templates to choose from, and we will explore these throughout the course. Hover over the templates to find out more about each one. The template we have selected here has the most options and will be useful for displaying and interacting with data.
Click Create Screen.
The screen will be created and will automatically open. Note this can take a little while as the html and css are generated for the screen.
Before we begin adding data and editing the look and feel, we will first look at the structure of the screen. This is beneficial as this knowledge will make editing the screen easier to understand.
Screen Structure
A screen is made up of components (the smallest building block) and layouts (a group of components) arranged by layers. Components are things like areas, static text labels and form fields, which display data from a table. Multiple components are combined into layouts, such as a label and a field, or more complex parts of a screen with responsive design such as a card or tile.
Layers
A typical screen has a layered structure, in which one layer is the parent of another layer. This structure, combined with appropriate styling, creates a responsive design that adapts to the screen of the device it is being viewed on. The nested structure for screens is illustrated below. Click on the image to make it larger:
Components
Components are the most basic building blocks that are combined to design a screen. They are available from any palette.
Layouts
Layouts are groups of pre-configured components. You can create these yourself by combining components or you can use the layouts from a palette (recommended).