How to implement when I click item option, the background color or images need to be change?
For example: listview have two options {item1, item2} .The default color is gray. After I click item1, the background color changes to blue. After click item2 the item1’s color change back grey, and item2’s background color change to blue.
Try this code for option menu.