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

Lost content when set font from asset #34

Open
vietcoibka opened this issue Oct 15, 2018 · 1 comment
Open

Lost content when set font from asset #34

vietcoibka opened this issue Oct 15, 2018 · 1 comment

Comments

@vietcoibka
Copy link

My content is very very long. When i set for justifiedtextview i lost 10 lines.
44231249_640933372969103_2911080643695738880_n

@vietcoibka
Copy link
Author

I found the reason is:
i set font from asset:
Typeface typeface = Typeface.createFromAsset(getAssets(), "fonts/TimesNewRoman.ttf");
txtDetail.setTypeface(typeface);

How to fix it

@vietcoibka vietcoibka changed the title Lost content Lost content when set font from asset Oct 15, 2018
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

1 participant