Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Implement icon tint color effect - #516

Merged
Gerald Versluis (jfversluis) merged 10 commits into
xamarin:mainfrom
jBijsterboschNL:implement-image-tint-color-effect
Oct 31, 2020
Merged

Implement icon tint color effect#516
Gerald Versluis (jfversluis) merged 10 commits into
xamarin:mainfrom
jBijsterboschNL:implement-image-tint-color-effect

Conversation

@jBijsterboschNL

Copy link
Copy Markdown
Contributor

Description of Change

Implemented IconTintColorEffect for iOS and Android to set a tint color to Image and ImageButton controls.

Bugs Fixed

API Changes

Added TintColor attached property for Image and ImageButton controls. When setting this attached property, the IconTintColorEffect is added to the control. The effect is implemented for the iOS and Android platforms.

Behavioral Changes

N/A

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation

@jBijsterboschNL

Copy link
Copy Markdown
Contributor Author

I'm still working on the iOS implementation. Hope to get this pushed today, but otherwise somewhere next week.

@jBijsterboschNL John Bijsterbosch (jBijsterboschNL) changed the title Implement image tint color effect Implement icon tint color effect Oct 30, 2020
@jBijsterboschNL

Copy link
Copy Markdown
Contributor Author

Darn incoming commits... 😛

@jBijsterboschNL
John Bijsterbosch (jBijsterboschNL) marked this pull request as ready for review October 30, 2020 20:07

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the code format a little?)
Typically we don't use parentheses in one-line operator's bodies

@jBijsterboschNL

Copy link
Copy Markdown
Contributor Author

Could you fix the code format a little?)
Typically we don't use parentheses in one-line operator's bodies

Hi Andrei (@AndreiMisiukevich), of course no problem, my bad. I'm used to use braces even white single line statements, same for not using a lambda for single line methods. So sometimes I forget, which isn't consistent 😉 thanks for checking this! I've re-checked my entire code change, could you review again? 😃

@jfversluis
Gerald Versluis (jfversluis) merged commit 1826150 into xamarin:main Oct 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Implement IconTintColorEffect for Image and ImageButton

3 participants