ColorPhrase

General

Category
Free
Tag
Text Formatting
License
N/A
Min SDK
8 (Android 2.2–2.2.3 Froyo)
Registered
Jun 1, 2015
Favorites
5
Link
https://github.com/THEONE10211024/ColorPhrase
See also
Number Shortener
Phrase
Slugify
SRML
TextFormatter

Additional

Language
Java
Version
N/A
Created
May 16, 2015
Updated
Jul 3, 2015 (Retired)
Owner
xiayong (THEONE10211024)
Contributor
xiayong (THEONE10211024)
1
Activity
Badge
Generate
Download
Source code

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

##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