-4

It would be much easier and faster if I only need to edit the XML-Code and not the Java-Code...

  • There are only four basic fonts you can use in XML. Also I am downvoting your question, because it does not show any research effort. – Skynet Mar 19 '14 at 11:03
  • 1
    No. See Commonsware's answer [here](http://stackoverflow.com/questions/2562408/set-specific-font-in-a-styles-xml) – Phantômaxx Mar 19 '14 at 11:04
  • Check this; http://stackoverflow.com/questions/12128331/how-to-change-fontfamily-of-textview-in-android – Lokesh Mar 19 '14 at 11:09

1 Answers1

0

A little googling goes a long way. Have a look at this library: https://github.com/danh32/Fontify. It'll allow you to specify fonts through xml.

Aashir
  • 2,621
  • 4
  • 21
  • 37