ufo22940268/android-justifiedtextview

Lost content when set font from asset

Opened this issue · 1 comments

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

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