Android-ExpandableTextView icon indicating copy to clipboard operation
Android-ExpandableTextView copied to clipboard

Facing issue while using custom fonts.

Open kvaruna opened this issue 6 years ago • 5 comments

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?

kvaruna avatar Mar 27 '18 10:03 kvaruna

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

Cliffus avatar Mar 27 '18 10:03 Cliffus

Thanks, Yeah, extending AppCompatTextView might help us.

kvaruna avatar Mar 27 '18 11:03 kvaruna

same issue.can you add this feature soon as possible ?

alikhaaki avatar Nov 05 '18 15:11 alikhaaki

I'm affraid this project is currently on a hold :-( feel free to fork this library!

Cliffus avatar Nov 05 '18 17:11 Cliffus

I had the same issue on lollipop, fixed it by setting the typeface manually: expandableTextView.typeface = ResourceCompat.getFont(context, R.font.my_font)

5hahryar avatar Nov 11 '21 19:11 5hahryar