---
title: "ListView背景设置"
author: "hkliya"
date: "2011-03-29T06:00:55Z"
tags: ["Android"]
categories: ["移动开发"]
slug: "listview"
draft: false
lastmod: "2011-03-29T06:00:55Z"
id: 978119
url: "https://hkliya.iteye.com/blog/978119"
---

如果想换背景颜色，直接指定android:cacheColorHint为你所要的颜色，

如果想用图片做背景的话，那只要将android:cacheColorHint指定为（#00000000）就可以了。