I would like say that I have a strange problem in setting textview font. If I change the Device font style from setting-> display, then textview font style also get chang
This worked for me in kotlin:
textView.typeface = ResourcesCompat.getFont(this, R.font.opensans_light)