Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET 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


  • 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.