摘要: 跑马灯的效果在xml上,大家都是一样的代码 android:singleLine="true" android:marqueeRepeatLimit="marquee_forever" android:ellipsize="marquee" android:focusableInTouchMode="true" android:scrollHorizontally="true" android:focusable="true"xml但是貌似有的人能跑,有的人的不会。自己的刚刚 阅读全文
posted @ 2014-03-26 09:19 王芳兵 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 以前也碰到过这个问题,也做了笔记。现在笔记都不见了,记录一下。ArrayAdapter 之所以会多次调用getview 是因为listview的 layout_height 设置为wrap_content了。要消除这种现象,把layout_height 改成fill_parent 就好了 。也见:http://www.cnblogs.com/linjzong/p/3494090.html 阅读全文
posted @ 2014-03-26 08:52 王芳兵 阅读(382) 评论(0) 推荐(0) 编辑