8000 GitHub - Ad9an/android-fontawesome: A Font Awesome is a font that you apply to your TextView and set the specific value to text in order to display the icon instead of text. · GitHub
[go: up one dir, main page]

Skip to content

About

A Font Awesome is a font that you apply to your TextView and set the specific value to text in order to display the icon instead of text.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

android-fontawesome

A Font Awesome is a font that you apply to your TextView and set the specific value to text in order to display the icon instead of text.

Basically this Repositry provide you following Data and Usage

  • Icon Data Class
  • Model Class
  • Font file

How to Use in your project

How to apply icon to your TextView

  • First set font to the textview

Typeface fontAwesomeFont = Typeface.createFromAsset(getActivity().getAssets(), "font/fontawesome-webfont.ttf");

textView2.setTypeface(fontAwesomeFont);

Set Icon to the TextView

textView2.setText(Html.fromHtml("&#xf26e")); //add ; at the end of text

About

A Font Awesome is a font that you apply to your TextView and set the specific value to text in order to display the icon instead of text.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0