开发者

how to build a view like the default SMS thread view?

The SMS thread view is like this:

==here i开发者_如何学运维s the icon of 'someone'==
someone: xxxxxx
me: xxx
someone: xxxxxx
me: xxx
===here is an editbox== =button=

Ok, i hope with the ugly sample above can make my question more clear to you. As i suppose, the view is not a ListView, either a TextView. It seems the TextView does not support scroll function. And ListView will hightlight the list item when i click it.

I'm not very familiar with GUI programming, so i hope someone can give me some advance. Thanks.


If you don't need to click on each line, then you can still use ListView with android:clickable="false" and so it wan't highlight the item.

Also, if you choose to use a TextView, you can wrap it in a ScrollView, to make it scrollable.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜