Code example for BackgroundColorSpan

0
    public static ForegroundColorSpan fg(int r, int g, int b) {
        return fg(Color.rgb(r, g, b));
    } 
 
    public static BackgroundColorSpan bg(int color) {
        return new BackgroundColorSpan(color);
    } 
 
    public static BackgroundColorSpan bg(int r, int g, int b) {
        return bg(Color.rgb(r, g, b));
    } 
 
    public static UnderlineSpan underline() {
        return new UnderlineSpan();
    } 
 
    public static StyleSpan bold() {
        return new StyleSpan(Typeface.BOLD);
    } 
 
Contextual code suggestions in your IDE  Get Codota for Java