1

CHANGE COLOR OF SELECTED ITEM IN LISTVIEW , WHEN MY LISTVIEW IS HAVING 2 ALTERNATE COLORS

view story
linux-howto

http://stackoverflow.com – i HAVE A LISTVIEW, IN WHICH I PUT ALTERNATE COLORS (TRANSPARENT AND GREY) AS THEIR BACKGROUND. BUT WHEN I AM TRYING TO CHANGE COLOR OF LIST ITEM SELECTED, IT CHANGES ONLY FOR ITEM WHICH IS HAVING TRANSPARENT AS ITS BACKGROUND COLOR IN THE LIST. ITEM WHICH IS HAVING GREY AS BACKGROUND, WHEN SELECTED DOES NOT CHANGE ITS COLOR WHEN I USE ANDROID:LISTSELECTOR="@COLOR/GREEN" IN XML FILE. PLEASE HELP! (HowTos)