diff --git a/docs/user-interface/animation/basic.md b/docs/user-interface/animation/basic.md index 304d3a608a..8010e8bb80 100644 --- a/docs/user-interface/animation/basic.md +++ b/docs/user-interface/animation/basic.md @@ -31,6 +31,12 @@ The animation extension methods in the class implements a single animation operation that progressively changes a property from one value to another value over a period of time. diff --git a/docs/user-interface/animation/custom.md b/docs/user-interface/animation/custom.md index acc06feb5c..bf86755c5a 100644 --- a/docs/user-interface/animation/custom.md +++ b/docs/user-interface/animation/custom.md @@ -15,6 +15,12 @@ Running an animation created with the c > [!NOTE] > The class has an property that can be examined to determine if animations have been disabled by the operating system, such as when power saving mode is activated. +::: moniker range=">=net-maui-8.0" + +[!INCLUDE [Android animation system settings](../includes/animation-android.md)] + +::: moniker-end + ## Create an animation When creating an object, typically, a minimum of three parameters are required, as demonstrated in the following code example: diff --git a/docs/user-interface/includes/animation-android.md b/docs/user-interface/includes/animation-android.md new file mode 100644 index 0000000000..74385e1e64 --- /dev/null +++ b/docs/user-interface/includes/animation-android.md @@ -0,0 +1,10 @@ +--- +ms.topic: include +ms.date: 11/07/2023 +--- + +On Android, animations respect the system animation settings: + +- If the system's animations are disabled (either by accessibility features or developer features), new animations will jump immediately to their finished state. +- If the device's power saving mode is activated while animations are in progress, the animations will immediately jump to their finished state. +- If the device's animation durations is set to zero (disabled) while animations are in progress and the API version is 33 or greater, the animations will immediately jump to their finished state. diff --git a/docs/whats-new/dotnet-8.md b/docs/whats-new/dotnet-8.md index 86c25b81a4..1a4f2f379b 100644 --- a/docs/whats-new/dotnet-8.md +++ b/docs/whats-new/dotnet-8.md @@ -98,6 +98,7 @@ The following behavior has changed from the previous release: - It's not required to specify a value for the `$(ApplicationIdGuid)` build property in your app's project file. This is because .NET MAUI Windows apps no longer require a GUID as an app ID, and instead use the value of the `$(ApplicationId)` build property as the app ID. Therefore, the same reverse domain format app ID is now used across all platforms, such as com.mycompany.myapp. - .NET MAUI Mac Catalyst apps are no longer limited to 50 menu items on the menu bar. - The `PlatformImage.FromStream` method, in the `Microsoft.Maui.Graphics` namespace, can now be used to load images on Windows instead of having to use the `W2DImageLoadingService` class. +- On Android, animations respect the system animation settings. For more information, see [Basic animation](~/user-interface/animation/basic.md). ## Performance