Skip to content

Conversation

@MrJul
Copy link
Member

@MrJul MrJul commented Jan 6, 2026

What does the pull request do?

This PR solves all remaining obsolete usages in Avalonia.Android:

  • Window.SetStatusBarColor/SetNavigationBarColor do nothing on API ≥ 35 (Android ≥ 15). Calls are suppressed in this case.
  • AccessibilityNodeInfoCompat.AddLabeledBy is used instead of SetLabeledBy.
  • AccessibilityNodeInfoCompat.SetBoundsInScreen is used instead of SetBoundsInParent. Coordinates were already in screen space, so it was likely an oversight.

Xamarin.AndroidX packages have been updated to their latest version as part of this PR.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 12.0.999-cibuild0061221-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul added this pull request to the merge queue Jan 12, 2026
Merged via the queue into AvaloniaUI:master with commit 6faf702 Jan 12, 2026
12 checks passed
@MrJul MrJul deleted the fix/android-obsolete-warnings branch January 12, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants