Skip to content

Commit b11064c

Browse files
hunterstichpekingme
authored andcommitted
[Motion] Removed API 21 sections from documentation.
PiperOrigin-RevId: 686127091
1 parent 541433b commit b11064c

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

docs/theming/Motion.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,13 @@ the
159159
**AndroidX (preferred)**
160160
161161
* Available in the `com.google.android.material.transition` package
162-
* Supports API Level 14+
163-
* Supports Fragments and Views, but not Activities or Windows
162+
* Supports Fragments and Views but not Activities or Windows
164163
* Contains backported bug fixes and consistent behavior across API Levels
165164
166165
**Platform**
167166
168167
* Available in the `com.google.android.material.transition.platform` package
169-
* Supports API Level 21+
170-
* Supports Fragments, Views, Activities, and Windows
168+
* Supports Activities, Windows, Fragments, and Views.
171169
* Bug fixes not backported and may have different behavior across API Levels
172170
173171
### Motion resources
@@ -342,8 +340,7 @@ expand Fragment A when it is reentering during the return container transform.
342340
**Note:** When using `MaterialElevationScale`, make sure to mark the root view
343341
of your Fragment as a
344342
[transition group](https://developer.android.com/reference/android/view/ViewGroup#setTransitionGroup\(boolean\)),
345-
either with `android:transitionGroup="true"` for API level 21+ or
346-
`ViewGroupCompat#setTransitionGroup` for all API levels. This will ensure that
343+
either with `android:transitionGroup="true"`. This will ensure that
347344
the animation is applied to the Fragment view as a whole, as opposed to each
348345
child view individually, which is the default behavior of the Android
349346
Transitions system.
@@ -352,7 +349,7 @@ Transitions system.
352349

353350
**Note:** Activity and Window transitions require using Android Framework
354351
Transitions provided in the `com.google.android.material.transition.platform`
355-
package and are only available on API level 21 and above.
352+
package.
356353

357354
In Activity A’s layout, identify the start View to be used as the “shared
358355
element” as described in the
@@ -676,7 +673,7 @@ respective axis. Alternatively, try replacing `MaterialSharedAxis` with a
676673

677674
**Note:** Activity and Window transitions require using Android Framework
678675
Transitions provided in the `com.google.android.material.transition.platform`
679-
package and are only available on API level 21 and above.
676+
package.
680677

681678
Enable Activity transitions by either setting
682679
`android:windowActivityTransitions` to true in your theme or enabling them on an
@@ -927,7 +924,7 @@ supportFragmentManager
927924

928925
**Note:** Activity and Window transitions require using Android Framework
929926
Transitions provided in the `com.google.android.material.transition.platform`
930-
package and are only available on API level 21 and above.
927+
package.
931928

932929
Enable Activity transitions by either setting
933930
`android:windowActivityTransitions` to true in your theme or enabling them on an

0 commit comments

Comments
 (0)