[android-developers] Re: can i use external fonts ?
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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: can i use external fonts ?
thanks On Thu, Sep 24, 2009 at 9:46 AM, Mark Murphy mmur...@commonsware.comwrote: 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: can i use external fonts ?
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 genx...@gmail.com wrote: thanks On Thu, Sep 24, 2009 at 9:46 AM, Mark Murphy mmur...@commonsware.comwrote: 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---