-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[animations] README updates #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
86ff576
083e3a6
23a37d1
6ad5eac
d9ae2d5
bd050c0
f9ba2c2
c4634ee
7fc9aab
65bac27
bf48644
bbbc160
5586ffd
6bb6214
824b524
4698759
a8c7151
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,89 @@ Currently, the following animated effects are available in this library: | |
|
|
||
| ### Material's [Open Container Transitions](https://material.io/design/motion/choreography.html#transformation) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having the link in the title actually looks a little strange. Maybe we should have a dedicated link to the spec in the text below?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can do that but not yet, since the actual links are not available yet. I'll remove them for now |
||
|
|
||
| Tapping on a container (e.g. a card or a button) will expand the container to reveal more information. | ||
| Tapping on a container (e.g. a card or a button) will expand the container to reveal more information. | ||
|
|
||
| *TODO(goderbauer): Add example videos of this effect.* | ||
| 1) Fade Transition | ||
|
|
||
| - Card Example | ||
|
|
||
| <p align="center"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having just one demo per line looks a little "lost". Maybe we should have three or for demo gifs next to each other with a short subtitle? |
||
| <img src="example/demo_gifs/open_container_fade_card_demo.gif"> | ||
| </p> | ||
|
|
||
| - Floating Action Button Example | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/open_container_fade_floating_action_button_demo.gif"> | ||
| </p> | ||
|
|
||
| 2) Fade Through Transition | ||
|
|
||
| - Card Example | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/open_container_fade_through_card_demo.gif"> | ||
| </p> | ||
|
|
||
| - Floating Action Button Example | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/open_container_fade_through_floating_action_button_demo.gif"> | ||
| </p> | ||
|
|
||
| ### Material's [Shared Axis Transitions](https://material.io/design/motion/choreography.html#transformation) | ||
|
|
||
| A transition animation between UI elements that have a spatial or navigational | ||
| relationship. There are three types of shared axis transitions: | ||
|
|
||
| 1) Horizontal shared axis transition | ||
|
|
||
| A new element slides and fades in horizontally while the previous element slides | ||
| and fades out. | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/shared_axis_horizontal_demo.gif"> | ||
| </p> | ||
|
|
||
| 2) Vertical shared axis transition | ||
|
|
||
| A new element slides and fades in vertically while the previous element slides | ||
| and fades out. | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/shared_axis_vertical_demo.gif"> | ||
| </p> | ||
|
|
||
| 3) Scaled shared axis transition | ||
|
|
||
| A new element scales and fades in while the previous element scales and fades out | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/shared_axis_scaled_demo.gif"> | ||
| </p> | ||
|
|
||
| ### Material's [Fade Through Transition](https://material.io/design/motion/choreography.html#transformation) | ||
|
|
||
| A transition animation between UI elements that have do not have a strong | ||
| relationship to one another. | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/fade_through_demo.gif"> | ||
| </p> | ||
|
|
||
| ### Material's [Fade Transition](https://material.io/design/motion/choreography.html#transformation) | ||
|
|
||
| The fade pattern is used for UI elements that enter or exit from within | ||
| the screen bounds. | ||
|
|
||
| 1) Modal Example: | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/fade_modal_demo.gif"> | ||
| </p> | ||
|
|
||
| 2) Floating Action Button Example: | ||
|
|
||
| <p align="center"> | ||
| <img src="example/demo_gifs/fade_floating_action_button_demo.gif"> | ||
| </p> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the line above where we claim that this is under heavy development?