Skip to content

About

Easy to use SpannableStringBuilder for Android

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

StringStyleBuilder

Easy to use SpannableStringBuilder for Android. Simply insert StringStyleBuilder.java file to anywhere in your project and use it like this:

StringStyleBuilder stringStyleBuilder = new StringStyleBuilder()
                          .addRegular("Regular text with some ")
                          .addBold("BOLD TEXT ")
                          .addRegular("then some regular again or you might want to ")
                          .addLink("click this line to go to my github ", "https://guthub.com/koceeng")
                          .addRegular("and ")
                          .addColored("give me a hug", Color.rgb(255, 0, 0));
yourTextView.setText(stringStyleBuilder.get(), TextView.BufferType.SPANNABLE);

About

Easy to use SpannableStringBuilder for Android

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors