有没有在Android中的TextView任何字符限制? [英] Is there any character limit in android textview?

查看:174
本文介绍了有没有在Android中的TextView任何字符限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图进入超过2000个 - 在Android TextView的3000个字符

I'm trying to enter more than 2000 - 3000 characters in an android TextView

它不会显示任何内容。

任何一个导向是有Android上的TextView还是什么字符的限制?

any one guide is there character limit on android textview or what ?

推荐答案

我在G3一些小测试,我发现:
如果有一个在activtiy布局一个TextView,它可以显示多于4096
字符,但是当它通过列表视图的项目所拥有,它只是显示
无形。因此,有没有硬性限制,只是什么都可以根据不同的设备上显示。

I did some small testing in G3, I found that: If there is a TextView in the activtiy layout, it can show more than 4096 characters, but when it owned by the item of listview, it just display invisible. So there's no hard limit, just what can be displayed depending on the device.

这篇关于有没有在Android中的TextView任何字符限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆