TtInformationControl
A reusable UI control that can be used for displaying information.
A schematic overview of the information control:
_____________________________________________________________
| ______ | O Primary text | |
| | | | O Secondary text | ____ |
| | | | O Tertiary text | Tail text | | |
| |_____| | ***** Rating bar text | |___| |
|___________|____________________________|___________________|
Head Main Tail
section section section
All theme attributes used by this control are declared in com.tomtom.tools.android.core.theme
. To use this control, it is mandatory to define these attribute values.
Parameters
The display context.
The attribute set provided in the layout XML file.
The default style attribute set.
Constructors
Types
Properties
The maximum allowable value of ttRatingBarValue. The default value is DEFAULT_RATING_BAR_MAXIMUM_VALUE.
The value represents the current rating. This value should be between 0 and ttRatingBarMaximumValue. If the value is null
, then the entire rating bar will be hidden.
Inherited functions
Extensions
Binds the given viewModel to a TtInformationControl. If viewModel is null
, the contents of TtInformationControl will be cleared.