change list view color

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

change list view color

Postby Nemat » Tue Nov 03, 2009 12:46 pm

Hi....

I want to set the background color of ListView as white.I tried this:

getListView().setBackgroundColor(color.white);
getListView().setCacheColorHint(color.transparent);

But it doesnt change the color.What should I do?

Thanks in advance
Nemat
Nemat
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Thu Aug 21, 2008 3:16 pm
Location: Jaipur

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 9 guests