How to change the font in a TextView, as default it’s shown up as Arial? How to change it to Helvetica?
How to change the font in a TextView , as default it’s shown up
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, the default is not Arial. The default is Droid Sans.
Second, to change to a different built-in font, use
android:typefacein layout XML orsetTypeface()in Java.Third, there is no Helvetica font in Android. The built-in choices are Droid Sans (
sans), Droid Sans Mono (monospace), and Droid Serif (serif). While you can bundle your own fonts with your application and use them viasetTypeface(), bear in mind that font files are big and, in some cases, require licensing agreements (e.g., Helvetica, a Linotype font).EDIT
After ICS, android includes Roboto fonts style,
Read more Roboto
EDIT 2