• Stars
    star
    334
  • Rank 126,264 (Top 3 %)
  • Language
    Java
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Phrase is an Android string resource color setting library

ColorPhrase

Phrase is an Android string resource color setting library

Usage

CharSequence formatted = ColorPhrase.from("I'm {Chinese}, I love {China}")
  .withSeparator("{}")
  .innerColor(0xFFE6454A)
  .outerColor(0xFF666666)
  .format();

Preview

sample ##Download 1)download the project
2)find ColorPhrase.java in "\src\com\medusa\lib" and copy it into your project
3)then you can use it!
4)ps: you should include the android-support-v4.jar in your porject
Android Arsenal