Created
February 21, 2014 03:31
-
-
Save alvareztech/9128249 to your computer and use it in GitHub Desktop.
Android: Change Font Family TextView.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From android 4.1 / 4.2, the following Roboto font families are available: | |
android:fontFamily="sans-serif" // roboto regular | |
android:fontFamily="sans-serif-light" // roboto light | |
android:fontFamily="sans-serif-condensed" // roboto condensed | |
android:fontFamily="sans-serif-thin" // roboto thin (android 4.2) | |
in combination with | |
android:textStyle="normal|bold|italic" | |
this 12 variants are possible: | |
Regular | |
Italic | |
Bold | |
Bold-italic | |
Light | |
Light-italic | |
Thin | |
Thin-italic | |
Condensed regular | |
Condensed italic | |
Condensed bold | |
Condensed bold-italic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment