SkillAgentSearch skills...

CustomFontView

Easiest way to include custom fonts in your TextView

Install / Use

/learn @mddanishansari/CustomFontView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CustomFontView

THIS LIBRARY IS NOT MAINTAINED ANYMORE

Easiest way to include custom fonts in your TextView

CustomFontView Demo

How to

1. Include dependency in your build.gradle file

compile 'com.md.cfv:customfontview:0.0.1'

2. Implement CustomFontView in your xml file and supply name of your font in fontName attribute

   <com.md.cfv.CustomFontView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Hello World"
            app:fontName="Lobster.ttf" />

3. Put that font file in assets folder. That's it.

Quite easy. Isn't it ?

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated2y ago
Forks3

Languages

Java

Security Score

55/100

Audited on Jul 11, 2023

No findings