By configuring the properties in the YMAProperties.xml file, the look and feel of the Mobile Application can be changed.
The Mobile Application reads the configuration from the YMAProperties.xml file. Therefore, locate the property XML that matches your mobile device (listed in the above table), and rename it as YMAProperties.xml.
The properties listed in the following are provided out-of-the-box.
Property | Description |
---|---|
CharHeight | Height of a character in pixels. |
CharWidth | Width of a character in pixels. |
TextFontName | Specifies the font used in the text boxes. |
TextFontSize | Specifies the size of the font used in the text boxes. |
TextIsBold | Specifies whether the characters in the text box should appear as bold. |
LabelFontName | Specifies the font used in the label fields. |
LabelFontSize | Specifies the size of the font used in the label fields. |
LabelHeight | Height of the label fields in pixels. |
LabelIsBold | Specifies if the characters in the label fields should appear as bold. |
LineHeight | Height of a line in pixels. |
MaxYValue | Specifies the height of the renderable area in a screen in pixels. When a character is requested to be positioned at a value that is higher than this, control automatically moves to a second column. |
ColumnWidth | Specifies the number of pixels to advance to the right in order to move to the next column. |
DeActivateOKButtonOnError | If the mobile device has an auto scan or auto click facility, it closes the error message dialog box automatically. This property allows the deactivation of the OK button in the error message dialog box so that the Mobile Application continues to display the error message to the user. |
SoundForError | This property allows to specify a different beep in an error scenario. Identify a sound file (.wav) available on the mobile device, and set without extension (.wav) to this attribute. |
enablePasteFunction | Allows paste facility in the text boxes. |
sipEnabled | This property enables input from the soft input panel of a mobile device. |