/IconicTextView

IconicTextView is an extension of Android TextView class which provides support for some iconic fonts.

Primary LanguageJavaApache License 2.0Apache-2.0

IconicTextView

IconicTextView is an extension of Android TextView class which provides support for some iconic fonts.

Try out the sample application. IconicTextView example

Usage

Including in your project

IconicTextView is presented as an Android library project. It is not a standalone JAR because fonts are stored as a raw resources.

You can include this project by referencing it as a library project in Eclipse or ant.

Sample usage

Layout:

<com.atermenji.android.iconictextview.IconicTextView
	android:id="@+id/iconic_text_view"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:gravity="center"
	android:textSize="100sp" />

Code:

IconicTextView iconicTextView = (IconicTextView) findViewById(R.id.iconic_text_view);
iconicTextView.setIcon(EntypoSocialIcon.GITHUB);
iconicTextView.setTextColor(Color.GREEN);

Available fonts

License

Note that all fonts have their own license.