Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

ListView: Setting background color of viewcell?

$
0
0

Hi
I just ran into a funny "problem"/challenge. We are using listviews with grouping enabled. I would like cells in each group to share a common background color. I solved this by using a custom viewcell and changing the background color of the root view. Job done!... Oh well, almost :-)

The problem is that the cells color isn't changed when it is clicked (highlighted).

I guess this happen because the root view is no longer transparent. But is there any way I can change a cells color without loosing the ability to get the cell "highlighted"?

Thank you in advance and have a great day


Viewing all articles
Browse latest Browse all 58056

Trending Articles