Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the default font characteristics in Android ?

People also ask

What is the default font in Android?

Roboto is the default font on Android, and since 2013, other Google services such as Google Play, YouTube, Google Maps, and Google Images.

What is the default font in phone?

Roboto is the default font on Android and other Google services.

What is the default font style?

Calibri has been Word's default font since 2007, when it replaced Times New Roman.


You can check the default style of the widgets here: android/res/values/styles.xml

Then, looking for Textview you reach

  <style name="Widget.TextView">    
     <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>    
 </style>

and after researching a little bit, you find out that this appearance is defined in the same styles.xml file

<style name="TextAppearance.Small">    
 <item name="android:textSize">14sp</item>    
 <item name="android:textStyle">normal</item>    
 <item name="android:textColor">?textColorSecondary</item>    
</style>

where

<item name="textColorSecondary">@android:color/secondary_text_dark</item>

these colors are defined in /res/color/, check /res/color/secondary_text_dark.xml

Bookmarking the android/res/values folder is a must!

Update: my old links are broken, check Android core resources folder on Github. Thanks to kreker for the link.


For the newer 4.0 ICS etc there's the Android design pages which shows a list of font sizes:

http://developer.android.com/design/style/typography.html

All specified as 'sp' units

HTH