textview出现褪色的android

时间:2013-10-24 12:47:14

标签: android textview custom-adapter

我正在使用自定义适配器来填充列表视图。列表项由2个textviews组成,结果如下: enter image description here

textview出现褪色的原因是什么?

2 个答案:

答案 0 :(得分:1)

你可能没有设置textcolor,这可能是一个原因。将textcolor设置为textviews为黑色,它将完成。

答案 1 :(得分:0)

可能是因为您已将listView行中的textViews设置为启用:“false”。 如果是这样,请给你的textView textColor =“#000000”,否则也给textColor