Change ContextActions Selected Color

bifedefrangobifedefrango Member ✭✭

How can I change this color?

Best Answers

Answers

  • dinobdinob USUniversity ✭✭✭

    have you been able to figure out this?

  • jezhjezh Member, Xamarin Team Xamurai

    @bifedefrango

    Besides the method AdamMeaney mentioned, there are many alternate ways you can choose.
    For more details, you can check:
    https://stackoverflow.com/questions/25885238/xamarin-forms-listview-set-the-highlight-color-of-a-tapped-item/26896715#26896715

  • bifedefrangobifedefrango Member ✭✭

    @dinob said:
    have you been able to figure out this?

    yes

  • bifedefrangobifedefrango Member ✭✭

    @AdamMeaney said:
    You can change the android one in the styles.xml file in the Android project.

    It is one of

        <item name="android:colorPressedHighlight">@color/accentColor</item>
        <item name="android:colorLongPressedHighlight">@color/accentColor</item>
        <item name="android:colorFocusedHighlight">@color/accentColor</item>
        <item name="android:colorActivatedHighlight">@color/accentColor</item>
        <item name="android:activatedBackgroundIndicator">@color/accentColor</item>
    

    thanks a lot, and thanks to @jezh too for the help!

Sign In or Register to comment.