Skip to content

Adding to your project

Ivan Kocijan edited this page Oct 13, 2015 · 1 revision
  1. Add the library as a dependency to your build.gradle
compile 'com.ivankocijan:MagicViews:version@aar'
  1. Specify path to fonts folder in onCreate method of your Application class (See example app).
public class MyApplication extends Application {
   
    @Override
    public void onCreate() {
        super.onCreate();
            
         MagicViews.setFontFolderPath(this, "fontFolderPath");
        
    }
   
}
   

Clone this wiki locally