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

AutoResizeTextView doesn't wrap content when setting Typeface #34

Open
codesForLiving opened this issue Aug 25, 2016 · 1 comment
Open

Comments

@codesForLiving
Copy link

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]

@AndroidDeveloperLB
Copy link
Owner

Can you please put a screenshot and a super-tiny sample project to show the issue?

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

No branches or pull requests

2 participants