Skip to content
Phrase is an Android string resource color setting library
Branch: master
Clone or download
Pull request Compare This branch is even with THEONE10211024:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
bin
gen/com/example/colorphrase
libs
res
screenshot
src/com
.classpath
.gitattributes
.gitignore
.project
AndroidManifest.xml
README.md
ic_launcher-web.png
proguard-project.txt
project.properties

README.md

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

You can’t perform that action at this time.