Skip to content

AutoResizeTextView doesn't wrap content when setting Typeface #34

@codesForLiving

Description

@codesForLiving

I am using AutoResizeTextView in FrameLayout and I am setting custom typeface.

There is space at the end of AutoResizeTextView[similar to what bottomPadding would produce].
When I don't set Typeface, it works fine.

I think the issue is, AutoResizeTextView is not considering the new Typeface in calculation, As the height of AutoResizeTextView remains same[as when system default typeface is used] when using non-default typeface, and the difference shows up as a gap, I am sure, if my default and non default typeface would be switched, then the text shown will be truncated, due to insufficient space.[I have not tested this]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions