Skip to content

GwtMaterialDesign/gwt-material-motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

gwt-material-motion

Google Design Motion implementation on GMD

Work in Progress

Still in Prototyping phase.

Cheatsheet

Material Motion.

Requirements

  1. Usage of Core & Material Transitions.
  2. Path Animator
  3. Add new TransformAnimation

Patterns:

  1. Container Transform (Path Animation)
    • Creates visible connection between 2 UI Elements
    • Examples - Element to Full View
      • Fab -> Sheet
      • ListItem -> DetailPage
      • Card -> DetailPage
      • SearchBar -> Expanded Search
    • Examples - Element to Element (Not Full View)
      • Fab -> Menu
      • Fab -> Media Player
      • Fab -> Sheet
      • Chip -> Expanded Chip
  2. Shared Axis
    • Navigation Relationship between UI Elements
    • Onboarding and Steppers
    • This pattern uses a shared transformation on the x, y, or z axis to reinforce the relationship between elements.
      • Horizontal
      • Vertical
      • Z Axis (Forward -> Backward)
  3. Fade Through
    • UI elements that do not have a strong relationship
    • If no relation between UI Elements.
    • Destinations on Bottom Navigation and Sidenavs
      • Tapping Destinations in a bottom navigation bar
      • Tapping a refresh icon
      • Tapping an account switcher
  4. Fade
    • If UI Element simply needs to enter or exit the screen
      • Dialog
      • Menu
      • Snackbar
      • FAB

Reference

https://material.io/design/motion/the-motion-system.html

https://material.io/design/motion/customization.html

https://material.io/develop/android/theming/motion/

About

Google Design Motion implementation on GMD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published