AutoSizing porting from android source code, phonecommon project, and fixed a bug. gradle: compile 'com.googxo.autosizingtext:autosizingtext:+'