Even I face this issue. Whenever clicking on list item it is showing Orange color. When you want to change that orange color you need to write custom render or some tricky logic in shared project. I tried that once doing from shared project. Here
https://stackoverflow.com/questions/25885238/xamarin-forms-listview-set-the-highlight-color-of-a-tapped-item/53079812#53079812
But the issue with it is, It is not working on just Tap when you release cursor/finger that time it is going show you appropriate color. It should be more easy so that people can do from xaml, In both ways when people clicking or releasing finger.
Thank you.
There is a proposed enhancement here (https://github.com/xamarin/Xamarin.Forms/pull/2050), but it is still in progress. Thanks!
this is so ridiculous that the color is still orange??? the workarounds are too complicated for a simple color change.
@ElsaAM4Y please be so kind as to give me the full copy and paste, in the styles file?
I am trying to paste the code, but it comes out strange. But you go to Android project - resources - values - styles.xml. And then item name="android:colorActivatedHighlight">@android:color/transparent. You do this exactly like the line above between tags.
@ElsaAM4Y THANK YOU so much, your input was a great help, my selected item is now transparent which looks A BILLION times better than the hidious orange. question though say i wish to make it another color can i just say @android:color/pink ?
As ElsaAM4Y mentions above. Put the following in styles.xml:
<item name="android:colorActivatedHighlight">@android:color/transparent</item>
colorActivatedHighlight
works for normal selection, but the list item turns another color (white for me) when active while showing the context action options (after doing the long press):
Is there another style for that state of the item?
Most helpful comment
I am trying to paste the code, but it comes out strange. But you go to Android project - resources - values - styles.xml. And then item name="android:colorActivatedHighlight">@android:color/transparent. You do this exactly like the line above between tags.