Skip to content

Commit

Permalink
few text issues
Browse files Browse the repository at this point in the history
  • Loading branch information
berardo committed Dec 31, 2017
1 parent c2a32d0 commit 6a7555c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

Expand Down

0 comments on commit 6a7555c

Please sign in to comment.