Dialog actions / Default action views |
Default action views are rendered according to the mobile specific standards.
The top and/or bottom part of the app screen is dedicated to displaying default action views to the user.
Actions can be programmatically enabled and disabled, and hidden and shown. The text, image and other properties of the action can be controlled with action attributes.
Each mobile platform provides its own standard to display action triggers.
Actions are typically decorated using the IMAGE or the TEXT action attribute. If these attributes are not defined or if the specified image resource is not available, the mobile front-end uses a default decoration. For some actions, the front-end always uses the platform-specific decoration. For example, on iOS devices, the "refresh" action always renders as a typical circular arrow icon.
Well-known actions use a default icon or text corresponding to the mobile platform GUI guidelines. As these follow the mobile OS standards, do not define your own text or icons for common actions such as "accept" or "cancel".
If accept or cancel cannot be assigned to the back button, a default action view appears in the action panel. For example, if all three actions (close, cancel and accept) exist and are active, the action panel shows a check mark for the accept action and a cross icon for the cancel action, while the back button fires the close action.