Android 12 Developer Preview is here! Try it out, and give us your feedback!

CarSpan

public class CarSpan
extends CharacterStyle

java.lang.Object
   ↳ android.text.style.CharacterStyle
     ↳ androidx.car.app.model.CarSpan


Base class for all span types allowed for a car app.

See also:

Summary

Public constructors

CarSpan()

Public methods

void updateDrawState(TextPaint tp)

Inherited methods

Public constructors

CarSpan

public CarSpan ()

Public methods

updateDrawState

public void updateDrawState (TextPaint tp)

Parameters
tp TextPaint