Android的TextView中设置ellipsize为end之后依然有字符的问题 Leave a reply 这个可能是由于text中有换行符,导致的bug。 替换掉 换行符即可。 Plain textCopy to clipboardOpen code in new windowEnlighterJS 3 Syntax Highlightertext = text.replace('\n',' '); text = text.replace('\n',' '); text = text.replace('\n',' '); 没有发现相关文章...