When a row of a table view is touched (clicked) the row gets the selected background color. Unfortunately not only the row gets the background color: all child elements are changing to the background color to the row.
This is very nice if you have labels and so on but if you style some graphics with image views and views this behavior is not very helpful!
Is there something I missed? Is there a workaround the keep the background color of the child elements?
2 Answers
try setting this property of tablerow, it worked for me
selectionStyle:0
Unfortunately that's no solution for me because I want that everything but the elements gets the row background color when the row is selected.
I found out that setting a background gradient of a element overrides the behavior of getting the selection background color. By setting a gradient with two equal colors resolved my problem.
Your Answer
Think you can help? Login to answer this question!