列表视图的改变背景颜色 [英] changing background color of a list view
本文介绍了列表视图的改变背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谁能帮我更改列表视图的背景颜色?我是新来的Android和我真的需要知道这一点。任何帮助将AP preciated。
can anyone help me with changing the background color of a list view?. I am new to android and I really need to know this. Any help will be appreciated.
谢谢!
推荐答案
您可以使用ListView控件的setBackgroundColor()方法。
You can use the setBackgroundColor() method of the ListView.
这篇关于列表视图的改变背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文