I don't remember exactly since I do not have my laptop with me but you
have to copy the font file inside res/raw/
You can then load the file with something like getResource()
If you still have an issu just wrote it and I will copy-paste my code
tonight at home.
C.
On 24 sep, 11:19, Zeeshan Muh
thanks
On Thu, Sep 24, 2009 at 9:46 AM, Mark Murphy wrote:
>
> > i need to use my external font .ttf file for button's text.
> > can anybody help
>
> http://developer.android.com/reference/android/graphics/Typeface.html
>
> then, call setTypeface() on your Button.
>
> --
> Mark Murphy (a Commons
> i need to use my external font .ttf file for button's text.
> can anybody help
http://developer.android.com/reference/android/graphics/Typeface.html
then, call setTypeface() on your Button.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware
3 matches
Mail list logo