开发者

Android: EditText cannot cope with amout of text?

开发者 https://www.devze.com 2023-04-03 02:46 出处:网络
Does anyone know how it would be possible to load very 开发者_Python百科long text with rich formatting into an EditText without it crashing? Yesterday I tested an app I am working on, and loaded a 600

Does anyone know how it would be possible to load very 开发者_Python百科long text with rich formatting into an EditText without it crashing? Yesterday I tested an app I am working on, and loaded a 600 line XML document which was then syntax highlighted into the EditText. That worked fine, but as I was scrolling, the EditText could not cope with the amout of rich text it was rendering, and I recieved an ANR. Any suggestions?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号