python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

Add easy way to get a custom font #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Added the getTypeface(Context, String) method to the TextViewUtil utility class.

Use this to get a custom font you have put in your project. Fonts should reside 
in the assets folder. The string is the path to the font file, with the assets 
folder being the "root". So, if you put your font into assets/fonts/font.ttf, 
then the path to use in the method above would be "fonts/font.ttf".

Original issue reported on code.google.com by IMPINC...@gmail.com on 27 Apr 2013 at 6:52

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 28 Apr 2013 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 30 May 2013 at 12:23