FontometricsLibrary
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).