BackgroundColorSpan

Class of android.text.style · BackgroundColorSpan.java · Android's reference

public class BackgroundColorSpan extends CharacterStyle implements UpdateAppearance

BackgroundColorSpan ← CharacterStyle

A color behind text.

Constructors

public BackgroundColorSpan(int color) source

Methods

public int getBackgroundColor() source
public void updateDrawState(TextPaint tp) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.