Android: change text color of an item in listview -
i have implemented side menu navigation. left side menu listview , onclick of item opens activity. want change text color of item when user clicks on , remain color of item until clicks on item. , after click on item change color of first item default color , change other item color , on. or code example highly appreciated. in advance.

use checkedtextview text of list item , set android:textcolor value color state list resource.
remember set list view: android:choicemode="singlechoice" well
Comments
Post a Comment