1. 判断一个String是否为空时候,string.length > 1 比string != "" 好用~原因不知~~反正用length解决了~
2, android:fillViewport="true"
on theScrollView
. scrollview 必须要设置这个为true,才能扩展内部的部件显示出来
3, 点击textview,展开更多内容的方法。
Actually, the way android platform does that is by setting the MaxLine to Integer.MAX_VALUE.
also, if you are using Ellipsize, don't forget to set to null.
just check how the android framework do just that ;) watch the setMaxLines(Integer.MAX_VALUE);
|
4,
setEllipsize
这个是内容过长加省略号的作用~