InflationX / Calligraphy

Custom fonts in Android the easy way...
Apache License 2.0
1.09k stars 83 forks source link

Unresolved reference: fontPath #27

Closed MahdiFarzami closed 5 years ago

MahdiFarzami commented 5 years ago

Hi , i get this error --> The R.attr.fontPath not resolve. for this line --> setFontAttrId(R.attr.fontPath)

ViewPump.init( ViewPump.builder() .addInterceptor( CalligraphyInterceptor( CalligraphyConfig.Builder() .setDefaultFontPath(FONTS_ASSET_PATH + FONT_NAME_REGULAR) .setFontAttrId(R.attr.fontPath) .build() ) ) .build()

Library using implementation 'io.github.inflationx:calligraphy3:3.1.1'

erlangparasu commented 5 years ago

hello sir.. you dont need to call .setFontAttrId(R.attr.fontPath) :)