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
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
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
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" >