Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.