CarSpan
@CarProtocol
class CarSpan : CharacterStyle
CarIconSpan |
A span that replaces the text it is attached to with a |
ClickableSpan |
A span that makes a section of text clickable. |
DistanceSpan |
A span that replaces the text it is attached to with the string representation of a instance. |
DurationSpan |
A span that replaces the text it is attached to with a localized duration string. |
ForegroundCarColorSpan |
A span that changes the color of the text to which the span is attached. |
Base class for all span types allowed for a car app.
See also | |
---|---|
CarText |
Summary
Public constructors |
---|
CarSpan() |
Public functions |
|
---|---|
Unit |
updateDrawState(tp: TextPaint) |
Inherited functions |
||||
---|---|---|---|---|
|