Linked Questions
36 questions linked to/from Using a custom typeface in Android
276 votes
25 answers
163k views
Is it possible to set a custom font for entire of application?
I need to use certain font for my entire application. I have .ttf file for the same. Is it possible to set this as default font, at application start up and then use it elsewhere in the application? ...
349 votes
16 answers
372k views
How to set default font family for entire Android app
I'm using the Roboto light font in my app. To set the font I've to add the android:fontFamily="sans-serif-light" to every view. Is there any way to declare the Roboto font as default font family to ...
269 votes
21 answers
257k views
Android - Using Custom Font
I applied a custom font to a TextView, but it doesn't seems to change the typeface. Here is my code: Typeface myTypeface = Typeface.createFromAsset(getAssets(), "fonts/myFont.ttf"); TextView ...
155 votes
15 answers
122k views
How to use icons and symbols from "Font Awesome" on Native Android Application
I'm trying to use Font Awesome on my application, I was able to integrate the font using Typeface.createFromAsset(), but I also want to use the icons provided by this font, but so far I haven't been ...
97 votes
15 answers
116k views
How to set custom font for a whole application in Android?
Is it possible to set a custom font in an Android application? I tried what is posted here, but I don't know where my extends Application class is... Any help? EDIT: I tried the following: Add an ...
101 votes
12 answers
83k views
Android: Want to set custom fonts for whole application not runtime
Is it possible to set any custom font in every control of the application? And not necessarily runtime ? (i.e. from xml if possible or only once for whole application in JAVA file) I can set the font ...
39 votes
7 answers
54k views
Custom Fonts in Android
I have already read some articles and searched on Google, but I failed to do it. My problem is regarding the font-face. In Android, there are only 4 attributes in "android:typeface": Normal, Sans, ...
45 votes
6 answers
38k views
Adding custom Font to Theme in Android
Is there any way to add custom fonts in Themes in Android? I have read Quick Tip: Customize Android Fonts, but here we have to programmetrically add custom font to text. TextView txt = (TextView) ...
9 votes
8 answers
23k views
custom font in android ListView
I'm using a custom font throughout my application (which, incidentally, I've frustratingly found out that you have to apply programmatically by hand to EVERY control!), and I need to apply it to a ...
8 votes
7 answers
30k views
How can I set a typeface in Android?
I have developed an Andriod RSS reader app.I have used custom listview to list RSS titles and its images.Now I want to change the font of RSS titles.How can I set typeface to my title textview? Here ...
6 votes
3 answers
9k views
Custom Button with two TextView
I'm trying to Customize button with two TextView with different typeface within a single button. For that I just extended Button and with have written the following code inside the constructor, ...
4 votes
3 answers
6k views
change Default font for Android App
Okay, I know how to change what font is used on individual textboxes in my app, but I want ALL the text in my app to use this custom font and color, and currently the only way I can think of to do his ...
5 votes
3 answers
5k views
Error: No resource found that matches the given name: attr 'typeface'
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:android="http://schemas.android.com/apk/res/android"> <style name="TextViewAppearance" parent="@android:style/TextAppearance....
3 votes
3 answers
7k views
How to force default font to the app? Like Gmail app doing it?
I want to force Android's default font (Roboto in ICS and something else in older ones) to all the TextViews in my android app. It should not change when user changes it from the System preferences. ...
2 votes
1 answer
3k views
how to use font file
I wanna use custom font file. For that below is my code XML file: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...