Configure the Button's text color (click effect) when a user clicked on it

MT_WSMMT_WSM FRMember ✭✭

Hi guys,

I am using two buttons into one of my pages' TitleView and I would like to configure their text color when a user is clicking on them.
I am talking about the effect proving that the event happened correctly.

The color being display by the effect is way too dark and since my buttons (white as text color) are located into my Toolbar (dark blue as background color), it doesn't create a nice result. Any idea to do that ? A renderer maybe ?

I thank you in advance for your time and your response !
Best regards,

Best Answer

Answers

  • jezhjezh Member, Xamarin Team Xamurai

    Could you please post more details about what you want to achieve?

  • KSTeixeiraKSTeixeira USMember ✭✭
    edited February 6

    FYI, of course you can also do it "almost" manually with Gestures and Maybe with triggers, but i'd prefer going with an Effect as you can reuse the behavior :smile:

  • MT_WSMMT_WSM FRMember ✭✭

    Hi @KSTeixeira,

    Thank you for your response ! This is exactly what I was looking for !!
    By implementing this solution, I reached the effect I wanted to.

    Again, thank you for everything and wishing you a great day !
    Best regards,
    mtwsm

  • ciarangallagher036ciarangallagher036 Member ✭✭

    @MT_WSM did you ever complete an iOS version of the button effect? Thanks!

  • ciarangallagher036ciarangallagher036 Member ✭✭

    I tried implementing the Android button effect but for some reason the adding the effect causes the button command not to execute.

Sign In or Register to comment.