View
  • 23 Oct 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

View

  • Dark
    Light
  • PDF

Article summary

  1. <View title="View title"background="background.png"backgroundLandscape="background_land.png">

  2.  <MenuItem value="My menu item"icon="my_icon.png"class="classId"/>

  3.  <Fields>

  4.    <Field id="FieldId1"name="Field 1"comment="Comment 1"class="classId" />

  5.    <Field id="FieldId2"name="Field 2"comment="Comment 2"class="classId" />

  6.  </Fields>

  7.  <Labels>

  8.    <Label id="LabelId1"value="Label 1"class="classId" />

  9.    <Label id="LabelId2"value="Label 2"class="classId" />

  10.  </Labels>

  11.  <Dynamics>

  12.    <Dynamic id="DynamicId1"class="classId" />

  13.    <Dynamic id="DynamicId2"class="classId" />

  14.  </Dynamcis>

  15.  <Buttons>

  16.    <Button id="ButtonId1"value="Button 1" />

  17.    <Button id="ButtonId2"value="Button 2" />

  18.  </Buttons>

  19.  <Errors>

  20.    <Error id="ErrorId1"value="Error 1" />

  21.    <Error id="ErrorId2"value="Error 2" />

  22.  </Errors>

  23. </View>

  • view: This element is used to configure the graphical rendering of a Mobile Authenticator Studio screen.

    • title: The screen title. This attribute is optional. The default value depends on the parent element.

    • background: The screen background which overwrites the default background settings defined under <General>. This attribute is optional.

The View element can contain the following elements:

  • one MenuItem

  • several Fields > Field elements

  • several Labels > Label elements

  • several Dynamics > Dynamic elements

  • several Buttons > Button elements

  • several Errors > Error elements

Menu item

<MenuItem value="My menu item"icon="my_icon.png"
class="classId" />

  • MenuItem: This element is used to configure the menu item style.

    • value: The text to display. This attribute is mandatory.

    • icon: The icon of the menu item. This attribute is mandatory.

    • class: Can be used to configure text rendering. This attribute is optional.

Field

<Field id="FieldId1"name="Field 1"comment="Comment 1"
class="classId"/>

  • Field: This element is used to configure the graphical pattern of input fields.

    • id: The identifier of the field. This attribute is mandatory.

    • name: The label of the field. This attribute is mandatory.

    • comment: Additional text displayed in the field. This attribute is mandatory.

    • class: Can be used to configure text rendering. This attribute is optional.

Label

<Label id="LabelId1"value="Label 1"class="classId"/>

  • Label: This element is used to configure the graphical pattern of labels.

    • id: The identifier of the label. This attribute is mandatory.

    • value: The text to display. This attribute is mandatory.

    • class: Can be used to configure text rendering. This attribute is optional.

Dynamic

<Dynamic id="DynamicId1"class="classId"/>

  • Dynamic: This element is used to configure the graphical pattern of generated data.

    • id: The identifier of the dynamic. This attribute is mandatory.

    • class: Can be used to configure text rendering. This attribute is optional.

Button

<Button id="ButtonId1"value="Button 1" />

  • Button: This element is used to configure the button label. The label style can be customized with the buttonClass parameter of the TextLayouts element.

    • id: The identifier of the button. This attribute is mandatory.

    • value: The text to display. This attribute is mandatory.

    • class: Can be used to configure text rendering. This attribute is optional.

Error

<Error id="ErrorId1"value="Error 1" />

  • Error: This element is used to configure error messages.

    • id: The identifier of the error message. This attribute is mandatory.

    • value: The error message to display. This attribute is mandatory.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, our interactive help assistant