Check Mobile App
Read now

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

Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.

Osama
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