Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
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:
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:
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.