- 23 Oct 2024
- 2 Minutes to read
- DarkLight
- PDF
View
- Updated on 23 Oct 2024
- 2 Minutes to read
- DarkLight
- PDF
<View title="View title"background="background.png"backgroundLandscape="background_land.png">
<MenuItem value="My menu item"icon="my_icon.png"class="classId"/>
<Fields>
<Field id="FieldId1"name="Field 1"comment="Comment 1"class="classId" />
<Field id="FieldId2"name="Field 2"comment="Comment 2"class="classId" />
</Fields>
<Labels>
<Label id="LabelId1"value="Label 1"class="classId" />
<Label id="LabelId2"value="Label 2"class="classId" />
</Labels>
<Dynamics>
<Dynamic id="DynamicId1"class="classId" />
<Dynamic id="DynamicId2"class="classId" />
</Dynamcis>
<Buttons>
<Button id="ButtonId1"value="Button 1" />
<Button id="ButtonId2"value="Button 2" />
</Buttons>
<Errors>
<Error id="ErrorId1"value="Error 1" />
<Error id="ErrorId2"value="Error 2" />
</Errors>
</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.