diff --git a/docs/html/training/material/animations.jd b/docs/html/training/material/animations.jd index 6f263dba57d12..3375af667707f 100644 --- a/docs/html/training/material/animations.jd +++ b/docs/html/training/material/animations.jd @@ -194,16 +194,16 @@ activated between the entering and exiting activities.
Figure 2 - A scene transition with one shared element. -First, enable window content transitions with the android:windowContentTransitions
+
First, enable window content transitions with the android:windowActivityTransitions
attribute when you define a style that inherits from the material theme. You can also specify
enter, exit, and shared element transitions in your style definition:
<style name="BaseAppTheme" parent="android:Theme.Material"> <!-- enable window content transitions --> - <item name="android:windowContentTransitions">true</item> + <item name="android:android:windowActivityTransitions">true</item> <!-- specify enter and exit transitions --> <item name="android:windowEnterTransition">@transition/explode</item>