• Stars
    star
    186
  • Rank 203,304 (Top 5 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android Library to use custom fonts with ease.

alt tag

FontometricsLibrary

API Android Arsenal Android Dev Digest License
A Simple Android Library to use Custom Fonts with Ease. Use Customs Fonts in your Android project without adding any .ttf/.otf in Assests Folder.

Installation

Add gradle dependency with command:

dependencies {
    compile 'org.ishmeetsingh.androbot:fontometrics:1.0.0'
    }

By using Maven

<dependency>
  <groupId>org.ishmeetsingh.androbot</groupId>
  <artifactId>fontometrics</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

Implementation

You can change the font of any TextView by adding just one line. TextView_Id.setTypeface(Fontometrics.Font_Name(Context context));

TextView textview;
textview = (TextView) findViewById(R.id.textview_id);
textview.setTypeface(Fontometrics.coffee_with_sugar(this));

For implementation you can also refer the sample app provider in the repo.

*TO SUPPORT FOR SUCH MORE LIBRARIES, CHECK THIS (http://github.com/ishmeetsingh97).