You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am not able to set the custom font to ExpandableTextView in XML it shows the font I selected but while running the app it uses the default font. Any Suggestion?
I had the same issue on lollipop, fixed it by setting the typeface manually: expandableTextView.typeface = ResourceCompat.getFont(context, R.font.my_font)
Activity
Cliffus commentedon Mar 27, 2018
Hi
ExpandableTextView doesn't extend (yet) from CompactTextView, maybe this explains your issue?
I'll try to add this change to version 1.1.0.
Cliff
kvaruna commentedon Mar 27, 2018
Thanks,
Yeah, extending AppCompatTextView might help us.
alikhaaki commentedon Nov 5, 2018
same issue.can you add this feature soon as possible ?
Cliffus commentedon Nov 5, 2018
I'm affraid this project is currently on a hold :-( feel free to fork this library!
5hahryar commentedon Nov 11, 2021
I had the same issue on lollipop, fixed it by setting the typeface manually:
expandableTextView.typeface = ResourceCompat.getFont(context, R.font.my_font)