· dataSource
Path for the context node that stores the text of FormattedTextView.
· hAlign
Horizontal alignment of the content with the UI element.
Value |
Description |
auto |
Automatic alignment of the text content. The alignment is specified by the usage of the UI element - for example, by the data type of the value to be represented. |
center |
Centered alignment |
forcedLeft |
The text content is always left-justified, regardless of whether the value is ltr or rtl for the textDirection property. |
endOfLine |
The text content is always displayed at the end of the line. Therefore, the text content for the value ltr of the textDirection property is right-justified. The text content for the value rtl is left-justified. |
forcedRight |
The text content is always right-justified, regardless of whether the value is ltr or rtl for the textDirection property. |
beginOfLine |
The text content is always displayed at the beginning of line. Therefore, the text content for the value ltr of the textDirection property is left-justified. The text content for the value rtl is right-justified. |
· text
XML text, see also Supported Tags
· textDirection
Text or writing direction.
This enables labels of interface elements to be read in languages that have an RTL writing direction, such as Hebrew and Arabic, as opposed to LTR such as English.
Value |
Description |
INHERIT |
The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element. |
LTR |
Left to right text direction |
RTL |
Right to left text direction |