Reset Android textview maxlines ? A1. Actually, the way android platform does that is by setting the MaxLine to Integer.MAX_VALUE. textView . setMaxLines ( Integer . MAX_VALUE ); also, if you are using Ellipsize, don't forget to set to null. textView . setEllipsize ( null ); just check how the android framework do just that ;) watch the setMaxLines(Integer.MAX_VALUE); private void applySingleLine ( boolean singleLine , boolean applyTransformation ) { mSingleLine = singleLine ; if ( singleLine ) { ...
Comments
Post a Comment