Read More

Android Calligraphy

Why Android ? Why,  No support to custom font till date !

Android do not provide us support to change font family of the complete application. We are more or less become dependent on custom view as described in my earlier blog on change-font-of-the-application.

But fortunately (thanks to chrisopher jerkins) for creating a wonderfull library chrisjenx/Calligraphy.

In this blog we are going to add new font in our application.

 

Let’s get Started:

Add Dependency in our application gradle:

Set the path of custom font:

Screenshot from 2016-02-23 17:51:18

 

Create our own Application Class:

Override the context used by each activity where we want to apply custom font:

Don’t forget to update the Android Manifest:

Here are the results:

 

Screenshot_2016-02-23-17-55-30

 

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close