Skip to content

Instantly share code, notes, and snippets.

@chetdeva
Created September 15, 2017 12:35
Show Gist options
  • Save chetdeva/cc8b976a6cf6332bb175edfd0567f746 to your computer and use it in GitHub Desktop.
Save chetdeva/cc8b976a6cf6332bb175edfd0567f746 to your computer and use it in GitHub Desktop.
CharSequence text = new Truss()
.pushSpan(new BackgroundColorSpan(Color.RED))
.append("Hello Snippety")
.popSpan()
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment