Android Open Source - UI api CustomFontsInAndroid






Project Summary

Example code for using Custom Fonts in Android. Roboto Font is taken as an example. This font needs to be used as custom font for API level < 11.

Web Site / Source Repository

CustomFontsInAndroid is hosted in the following web site
https://github.com/sanjaymeena/CustomFontsInAndroid

If you think the Android project CustomFontsInAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of CustomFontsInAndroid.

ItemValue
Java File Count2
Target SDK Version17
Minimum SDK Version14
Activity Count1
jar files usedandroid-support-v4.jar
Asset File Namesassets\fonts\Roboto-Black.ttf
assets\fonts\Roboto-BlackItalic.ttf
assets\fonts\Roboto-Bold.ttf
assets\fonts\Roboto-BoldItalic.ttf
assets\fonts\Roboto-Italic.ttf
assets\fonts\Roboto-Light.ttf
assets\fonts\Roboto-LightItalic.ttf
assets\fonts\Roboto-Medium.ttf
assets\fonts\Roboto-MediumItalic.ttf
assets\fonts\Roboto-Regular.ttf
assets\fonts\Roboto-Thin.ttf
assets\fonts\Roboto-ThinItalic.ttf
assets\fonts\RobotoCondensed-Bold.ttf
assets\fonts\RobotoCondensed-BoldItalic.ttf
assets\fonts\RobotoCondensed-Italic.ttf
assets\fonts\RobotoCondensed-Light.ttf
assets\fonts\RobotoCondensed-LightItalic.ttf
assets\fonts\RobotoCondensed-Regular.ttf




Java Source Files

CustomFontsInAndroid has the following Java source files.

com.sanjaymeena.customfont.MainActivity.java
com.sanjaymeena.customfont.widgets.RobotoTextView.java