Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Change background color on list item when context actions are showing

AzucenaFAzucenaF MXMember ✭✭

Hi, how could I change the background color on a list item when context actions are showing? Thanks

Posts

  • AzucenaFAzucenaF MXMember ✭✭
    edited June 2016

    Ok. So I have found a partial solution.

    On android you have to add a style
    item name="android:colorLongPressedHighlight" @color/mycolor

    The issue now is that my viewcell has a background (some items have one color, other items have a different background color) and the highlight color only shows when the background is transparent.

Sign In or Register to comment.