11

Is it possible to use Roboto thin or condensed style in ICS without having to include the .ttf and load it manually, I mean without using:

Typeface.createFromAsset(this.getAssets(),"fonts/DroidSerif-Bold.ttf");
Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
lujop
  • 13,504
  • 9
  • 62
  • 95

1 Answers1

29

Versions of Android older than 4.1 include just four basic styles of Roboto: Regular, Bold, Italic and BoldItalic. There is no way to use thin or condensed styles in ICS without assets.

Android 4.1 (JellyBean, API16) and up includes several more Roboto styles:

  • Regular
  • Italic
  • Bold
  • Bold-italic
  • Light
  • Light-italic
  • Condensed regular
  • Condensed italic
  • Condensed bold
  • Condensed bold-italic
Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
David
  • 3,392
  • 3
  • 36
  • 47