A view is an interface component used on pages and presented to users.
There are many types of views that each facilitates a unique set of functionality.
On this page:
Anatomy
Although there are slight variations to each type, the anatomy of every view adheres to the same general guidelines.
-
Horizontal page margin (16dp)
-
Content
-
Action icon (not used on all types)
Types
There are many different types of views as defined by the EViewType enum.
-
Input Field A view users can input text into.
-
Label A view used to display static text with or without a caption/title describing the content.
-
Select List A view used for presenting multiple options from which a single item can be selected.
-
Toggle A view used to indicate a binary (on/off) state that users can control.
-
View Group A view used to group other views together with or without header text describing the content.