grantland / android-autofittextview

A TextView that automatically resizes text to fit perfectly within its bounds.
Apache License 2.0
4.27k stars 688 forks source link

Text is clipped if I add configChanges in manifest #76

Closed vabhishek closed 8 years ago

vabhishek commented 8 years ago

I have added android:configChanges="orientation|screenSize" attribute for the activity containing autofittextview in manifest because I don't want the activity to be recreated on configuration change. Now if I put the app in background, on coming back to foreground again autofittextview is clipped. Does anyone have any idea about how to fix this issue?

Note: This issue is not observed in default android TextView.