Read More
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

Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

Deniel Kerr

Owner and Founder. Opencart

Talk to Sales
Start a Project

    Message Sent!

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

    Back to Home