MCPcopy Create free account
hub / github.com/neworld/spanner / background

Method background

lib/src/main/java/lt/neworld/spanner/Spans.java:170–172  ·  view source on GitHub ↗

@see android.text.style.BackgroundColorSpan#BackgroundColorSpan(int)

(@ColorInt final int color)

Source from the content-addressed store, hash-verified

168 * @see android.text.style.BackgroundColorSpan#BackgroundColorSpan(int)
169 */
170 public static Span background(@ColorInt final int color) {
171 return new Span(new ColorSpanBuilder(ColorSpanBuilder.BACKGROUND, color));
172 }
173
174 /**
175 * @see android.text.style.ForegroundColorSpan#ForegroundColorSpan(int)

Callers 1

onCreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected