Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/user-interface/animation/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ The animation extension methods in the <xref:Microsoft.Maui.Controls.ViewExtensi

If there's a requirement to let an animation complete in the background, then the `await` operator can be omitted. In this scenario, the animation extension methods will quickly return after initiating the animation, with the animation occurring in the background. This operation can be taken advantage of when creating composite animations. For more information, see [Composite animations](#composite-animations).

::: moniker range=">=net-maui-8.0"

[!INCLUDE [Android animation system settings](../includes/animation-android.md)]

::: moniker-end

## Single animations

Each extension method in the <xref:Microsoft.Maui.Controls.ViewExtensions> class implements a single animation operation that progressively changes a property from one value to another value over a period of time.
Expand Down
6 changes: 6 additions & 0 deletions docs/user-interface/animation/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Running an animation created with the <xref:Microsoft.Maui.Controls.Animation> c
> [!NOTE]
> The <xref:Microsoft.Maui.Controls.Animation> class has an <xref:Microsoft.Maui.Controls.Animation.IsEnabled> 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 <xref:Microsoft.Maui.Controls.Animation> object, typically, a minimum of three parameters are required, as demonstrated in the following code example:
Expand Down
10 changes: 10 additions & 0 deletions docs/user-interface/includes/animation-android.md
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions docs/whats-new/dotnet-8.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down