Check Mobile App
Read now
Start a Project

Android Calligraphy

Save

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

 

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.

Michael Urresta

Michael Urresta

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home