diff --git a/README.md b/README.md index 32a947a..b7281ee 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ class MyComponent { } ``` -## Notes about version +2 +## Notes about version 2+ Here are the list of improvements on version 2.0: 1. BugFix: Integer directive not rendering on iOS. @@ -165,14 +165,15 @@ Here are the list of improvements on version 2.0: documentation](https://developer.android.com/training/material/shadows-clipping.html) it's not the only part. Then, `translationZ` will add extra distance to the surface and it's mainly used for animations. -1. **2.1.X** Override Android default StateListAnimator as explained below +1. **2.1.X** Override Android default StateListAnimator as explained below: ### Override Android default StateListAnimator Android buttons are split into three categories: floating, raised and flat. Different from labels and other ui elements, each button category has its own state animator. -So, when buttons as tapped, Android does affect their elevation (and z translation) in a way that Angular is not notified. At the end of tap animation, buttons get back to +So, when buttons are tapped, Android does affect their elevation +(and z translation) in a way that Angular is not notified. At the end of tap animation, buttons get back to resting defaults (i.e. raised button's `elevation` at 2dp and `translationZ` at 0) overriding the shadow stablished by this plugin.