0

I want to show my own custom font ".ttf" in my whole application

Please Note... I don't need to change only, "Text view", "Edit text" and "Button" text font by creating Typeface

Chris.Jenkins
  • 13,051
  • 4
  • 60
  • 61
Rashmi
  • 23
  • 6

2 Answers2

2

The only way out is to extend the Android UI widgets and create custom views. But that's a tedious process. Instead, you can use Calligraphy Project:

Calligraphy
Custom fonts in Android the easy way.

Are you fed up of Custom views to set fonts? Or traversing the ViewTree to find TextViews? Yeah me too.

You can refer to these answers for more
Android - Using Custom Font

the following links have been taken from the comments:
Using a custom typeface in Android
How to set default font family for entire Android app

Community
  • 1
  • 1
An SO User
  • 24,612
  • 35
  • 133
  • 221
0

You can declare a custom font style in your manifest.xml file under your application tag. For Example:-

    <application
            android:name="com.digimedia.icouch.bean.AppContext"
            android:icon="@drawable/app_logo"
            android:label="@string/app_name"
            android:theme="@style/CustomActionBarTheme" >
user1376686
  • 1
  • 1
  • 1