Skip to content

Facing issue while using custom fonts. #26

Open

Description

@kvaruna

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?

Activity

  1. self-assigned this
    on Mar 27, 2018
  2. added this to the 1.1.0 milestone on Mar 27, 2018
  3. Cliffus commented on Mar 27, 2018

    @Cliffus
    Contributor

    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

  4. kvaruna commented on Mar 27, 2018

    @kvaruna
    Author

    Thanks,
    Yeah, extending AppCompatTextView might help us.

  5. alikhaaki commented on Nov 5, 2018

    @alikhaaki

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

  6. Cliffus commented on Nov 5, 2018

    @Cliffus
    Contributor

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

  7. 5hahryar commented on Nov 11, 2021

    @5hahryar

    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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions