Last active
April 8, 2019 09:44
-
-
Save sudoanand/2543a5e16e7e2c5d48ff52018f2ee364 to your computer and use it in GitHub Desktop.
Available fonts (as of Oreo) for android
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
Using these fonts | |
Set the android:fontFamily and android:textStyle attributes, e.g. | |
<!-- Roboto Bold --> | |
<TextView | |
android:fontFamily="sans-serif" | |
android:textStyle="bold" /> | |
to the desired values from this table: | |
Font | android:fontFamily | android:textStyle | |
-------------------------|-----------------------------|------------------- | |
Roboto Thin | sans-serif-thin | | |
Roboto Light | sans-serif-light | | |
Roboto Regular | sans-serif | | |
Roboto Bold | sans-serif | bold | |
Roboto Medium | sans-serif-medium | | |
Roboto Black | sans-serif-black | | |
Roboto Condensed Light | sans-serif-condensed-light | | |
Roboto Condensed Regular | sans-serif-condensed | | |
Roboto Condensed Medium | sans-serif-condensed-medium | | |
Roboto Condensed Bold | sans-serif-condensed | bold | |
Noto Serif | serif | | |
Noto Serif Bold | serif | bold | |
Droid Sans Mono | monospace | | |
Cutive Mono | serif-monospace | | |
Coming Soon | casual | | |
Dancing Script | cursive | | |
Dancing Script Bold | cursive | bold | |
Carrois Gothic SC | sans-serif-smallcaps | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment