@@ -68,7 +68,7 @@ Attribute | Default value | Description
6868** ?attr/motionSpringDefaultEffects** | ` damping: 1, stiffness: 1600 ` | Spring for animation effects that partially cover the screen.
6969
7070When building spring animations, a speed should be chosen based on the
71- animation's size or distance covered. Then, a spacial or effects type should be
71+ animation's size or distance covered. Then, a spatial or effects type should be
7272chosen depending on the property being animated. For example, if animating a
7373button's shape and color when pressed, use two springs: a
7474` motionSpringFastSpatial ` spring to animate the button's shape/size and a
@@ -93,12 +93,12 @@ use the resolved object to configure your SpringAnimation's SpringForce.
9393``` kt
9494val defaultSpatialSpring = MotionUtils .resolveThemeSpringForce(
9595 /* context= */ this ,
96- /* attrResId= */ com.google.android.material.R .attr.motionSpringDefaultSpacial
96+ /* attrResId= */ com.google.android.material.R .attr.motionSpringDefaultSpatial
9797)
9898SpringAnimation (box, DynamicAnimation .TRANSLATION_Y , 400f ).apply {
9999 spring.apply {
100- dampingRatio = defaultSpacialSpring .dampingRatio
101- stiffness = defaultSpacialSpring .stiffness
100+ dampingRatio = defaultSpatialSpring .dampingRatio
101+ stiffness = defaultSpatialSpring .stiffness
102102 }
103103 start()
104104}
@@ -222,7 +222,7 @@ val duration = MotionUtils.resolveThemeDuration(
222222## Transitions
223223
224224Material provides a set of transition patterns that help users understand and
225- navigate an app. For more information on the patterns and how to choose between
225+ navigate an app. For more information on the patterns and how to choose between
226226them, check out the
227227[Material motion transition patterns](https://m3.material.io/styles/motion/transitions/transition-patterns).
228228
0 commit comments