开发者

How to set color mTitles Array in that API demo?

开发者 https://www.devze.com 2023-04-08 05:04 出处:网络
http://developer.开发者_运维技巧android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List6.html

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

精彩评论

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