InflationX / Calligraphy

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

setFontAtrrId(R.attr.fontPath) fontPath not resolved #21

Closed Gkundu1 closed 5 years ago

Gkundu1 commented 5 years ago

CalligraphyConfig.initDefault(new CalligraphyConfig.Builder() .setDefaultFontPath("fonts/" + getString(R.string.filename_default_font_narrow)) .setFontAttrId(R.attr.fontPath) .build()); The R.attr.fontPath not resolve.

Library using implementation 'uk.co.chrisjenx:calligraphy:2.3.0' Support library: versions = [supportLib: "27.1.1"] Gradle build tool version : classpath 'com.android.tools.build:gradle:3.1.4'

jbarr21 commented 5 years ago

this is a fork of that lib under the io.github.inflationx.calligraphy3 namespace. for issues before 3.0, please create an issue on that repo https://github.com/chrisjenx/Calligraphy