tags:

views:

117

answers:

2

Hi, I'm defining a style XML for my android app. I have some TTF files I want to use, how can I set the typeface to use those files as the font as opposed to the generic "sans", "serif" & "monospace". Thanks

+2  A: 

You can only use custom fonts via Java code, not through layout XML or styles/themes -- sorry!

CommonsWare
Thanks alot I appreciate it.
NickTFried
A: 

see the APIDemos Example in the Documentation.

Praveen Chandrasekaran