Android-ExpandableTextView
Android-ExpandableTextView copied to clipboard
Facing issue while using custom fonts.
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?
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
Thanks, Yeah, extending AppCompatTextView might help us.
same issue.can you add this feature soon as possible ?
I'm affraid this project is currently on a hold :-( feel free to fork this library!
I had the same issue on lollipop, fixed it by setting the typeface manually:
expandableTextView.typeface = ResourceCompat.getFont(context, R.font.my_font)