开发者

How to set color mTitles Array in that API demo?

http://developer.开发者_运维技巧android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List6.html

In the above link , how toset color to mTitles string.


You should be able to do something like in the getview function

TextView title = (TextView)sv.getChildAt(0);
title.setBackgroundColor(Coor.RED);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜