Skip to content Skip to sidebar Skip to footer

Android: Selector Isn't Working As Expected In Tablerow Selection

I have a TAbleLayout in my XML with 1 row i.e. te headings row. Other all rows, I add dynamically. I want to make a row selected on clicking it & on touching it. I added clickL

Solution 1:

As I understand, you have to change the selector. I have found the recipes here

Solution 2:

Friends, selector, doesn't work as I had expected. So have handled it programmatically using apprpriate logic and setting row's color.

Thanks to all.

Post a Comment for "Android: Selector Isn't Working As Expected In Tablerow Selection"