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(<path>)

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 Muhammad <[email protected]> wrote:
> thanks
>
> On Thu, Sep 24, 2009 at 9:46 AM, Mark Murphy <[email protected]>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 Guy)
> >http://commonsware.com
> > Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to