Unable to do a simple task: take the list's icon off

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

Unable to do a simple task: take the list's icon off

Postby gumatias » Tue Feb 02, 2010 4:16 pm

Hi guys,

I've followed this tutorial and everything worked out just fine.. but the problem is that I would like to do one small modification on my Expandable List which is to take off the expand button that's on the left side of the list, I've tried many things but none of them seemed to work... any ideas???

Thanks in advance!

-- gustavo
gumatias
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Nov 30, 2009 4:17 pm

Top

Postby gumatias » Wed Feb 03, 2010 12:34 pm

anyone???
gumatias
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Nov 30, 2009 4:17 pm

Postby gumatias » Wed Feb 03, 2010 7:33 pm

Just figured that out!

getExpandableListView().setGroupIndicator(null);

and if you're also wondering how to take the line separators off:

getExpandableListView().setDivider(null);
getExpandableListView().setDividerHeight(0);
gumatias
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Nov 30, 2009 4:17 pm

Top

Return to View, Layout & Resource Problems

Who is online

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