Skip to content

Latest commit

 

History

History

android

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

for Android Apps

Gulp!

$ cd variants/android
$ gulp symbols

Then check the dist directory. There'll be the font and XML files generated.

Import icon fonts

(1) Move font to Assest directory

Android Assest

(2) Move xml to res/value

Android Value

(3) Android TextView use font

Typeface font = Typeface.createFromAsset(getContext().getAssets(), "symbols.ttf");
textView.setTypeface(font);
textView.setText(R.string.add);

(4) Demo

Android Demo