Wednesday, 21 August 2013

Setting custom font to all TextViews

Setting custom font to all TextViews

Is there an easy way to make all textviews (and any other text elements in
my app) to use a custom font of my own (and not the built-in choices),
without having to manually set them via textview.setTypeface()?
I guess extending Textview would do the trick but then building interfaces
with the visual editor is kind of a pain. I was thinking of something like
styling but can't find how to set a custom font there.

No comments:

Post a Comment