views:

1587

answers:

2

how to change the font in textview? as default its shown up as Arial. how to change it to helvetica?

+1  A: 

First, the default is not Arial. The default is Droid Sans.

Second, to change to a different built-in font, use android:typeface in layout XML or setTypeface() in Java.

Third, there is no Helvetica font in Android. The built-in choices are Droid Sans (sans), Droid Sans Serif (serif), and Droid Sans Mono (monospace). While you can bundle your own fonts with your application and use them via setTypeface(), bear in mind that font files are big and, in some cases, require licensing agreements (e.g., Helvetica, a Linotype font).

CommonsWare
+1  A: 

I think this is a repeat question. Look here for answer http://stackoverflow.com/questions/2878882/android-develop-lcd-font/2880348#2880348

the100rabh
@the100rabh This should be a comment on the question itself.
Jonathan Sampson
ooops, thanks for letting me know this :-)
the100rabh