I'm currently trying to add a custom font family to my Android project which is using Androidx instead of the old support library.
But I can't seem to find a way to support font families in older SDK versions (23+) with the AndroidX libraries and everything I find online is mentioning the old support library.
My current font family file looks like this:
<font-family
xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:fontStyle="normal"
app:fontWeight="500"
app:font="@font/raleway_medium"/>
<font
app:fontStyle="normal"
app:fontWeight="700"
app:font="@font/raleway_bold" />
<font
app:fontStyle="normal"
app:fontWeight="600"
app:font="@font/raleway_semibold" />
</font-family>
Is there a way to make this work on older SDK versions with the androidx libraries?