thats what he meant... instead of setting the typeface for every TextView 
in the app, you subclass TextView, set the typeface on it and then use that 
one instead of TextView. Makes it much easier to manage fonts app wide.

On Tuesday, October 15, 2013 10:09:30 AM UTC+3, Jacky.Liu wrote:
>
>
> it's better to store the ttf file to your assets directory and then set 
> the TypeFace
>
>
> 在 2013年10月14日星期一UTC+8下午9时15分51秒,onigunn写道:
>>
>> Hi there,
>>
>> currently I'm developing an android app which uses the beautiful default 
>> font "Roboto". Now by testing on some devices I noticed following: On 
>> Samsung devices the user can select a custom font (at worst case, this is 
>> some Comic Sans type) this "ruins" my layout - imho. Is there a way to 
>> force the system to use the "Roboto" font? Or do I have to Subclass 
>> TextView and implement Robot as asset in my app?
>>
>> Regards
>>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to