Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue while using custom fonts. #26

Open
kvaruna opened this issue Mar 27, 2018 · 5 comments
Open

Facing issue while using custom fonts. #26

kvaruna opened this issue Mar 27, 2018 · 5 comments
Assignees
Milestone

Comments

@kvaruna
Copy link

kvaruna commented Mar 27, 2018

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?

@Cliffus Cliffus self-assigned this Mar 27, 2018
@Cliffus Cliffus added this to the 1.1.0 milestone Mar 27, 2018
@Cliffus
Copy link
Contributor

Cliffus commented 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
Copy link
Author

kvaruna commented Mar 27, 2018

Thanks,
Yeah, extending AppCompatTextView might help us.

@alikhaaki
Copy link

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

@Cliffus
Copy link
Contributor

Cliffus commented Nov 5, 2018

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

@5hahryar
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants