Skip to content

[automated] Merge branch 'net11.0' => 'release/11.0.1xx-rc1' - #38009

Merged
kubaflo merged 2 commits into
release/11.0.1xx-rc1from
merge/net11.0-to-release/11.0.1xx-rc1
Aug 30, 2026
Merged

kubaflo merged 2 commits into
release/11.0.1xx-rc1from
merge/net11.0-to-release/11.0.1xx-rc1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

I detected changes in the net11.0 branch which have not been merged yet to release/11.0.1xx-rc1. I'm a robot and am configured to help you automatically keep release/11.0.1xx-rc1 up to date, so I've opened this PR.

This PR merges commits made on net11.0 by the following committers:

  • jfversluis

Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.

merge button instructions

If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.

Instructions for merging via command line

Run these commands to merge this pull request from the command line.

git fetch
git checkout net11.0
git pull --ff-only
git checkout release/11.0.1xx-rc1
git pull --ff-only
git merge --no-ff net11.0

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc1
or if you are using SSH
git push git@github.com:dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc1

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

⚠️ If there are merge conflicts, you will need to resolve them manually before merging. You can do this using GitHub or using the command line.

Instructions for updating this pull request

Contributors to this repo have permission update this pull request by pushing to the branch 'merge/net11.0-to-release/11.0.1xx-rc1'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.

git fetch
git checkout -b merge/net11.0-to-release/11.0.1xx-rc1 origin/release/11.0.1xx-rc1
git pull https://github.com/dotnet/maui merge/net11.0-to-release/11.0.1xx-rc1
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc1
or if you are using SSH
git fetch
git checkout -b merge/net11.0-to-release/11.0.1xx-rc1 origin/release/11.0.1xx-rc1
git pull git@github.com:dotnet/maui merge/net11.0-to-release/11.0.1xx-rc1
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/net11.0-to-release/11.0.1xx-rc1

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

jfversluis and others added 2 commits August 30, 2026 22:43
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Completes the .NET 11 follow-up from the Android Material 3 ImageButton
work by removing the temporary internal `MaterialShapeableImageView`
shim.

- `ImageButtonHandler` now always creates `MauiShapeableImageView` and
forwards the Material 3 feature state through a new public opt-in
constructor.
- `MauiShapeableImageView(Context?, bool useMaterial3)` lets custom
handlers and compatibility renderers request equivalent Material 3
theming without changing the behavior of the shipped constructors.
- The three shipped public constructors continue to pass their supplied
context directly to `ShapeableImageView`, and their nullable annotations
remain unchanged.
- Material 3 opt-in applies the requested MAUI theme deterministically
while avoiding redundant wrapping of an existing
`MauiMaterialContextThemeWrapper`.
- The existing measurement-time padding normalization remains on
`MauiShapeableImageView`.
- Core Android device tests verify the concrete platform view type, both
handler feature-switch paths, public-constructor compatibility,
originating activity context, and padding normalization.

The handler's shipped `ShapeableImageView` base contract remains
unchanged. This adds one non-breaking public constructor overload for
the net11 Material 3 opt-in.

### Validation

- Built `src/Core/src/Core.csproj` for `net11.0-android37.0` with
PublicAPI analysis (zero warnings and errors).
- Built the Core Android device-test APK for `net11.0-android`,
including the updated tests.
- Device execution was not available locally because the Windows host
had no emulator or connected Android device.

### Issues Fixed

Follow-up to #33649.

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 70f3aebe-e581-4d6c-bc11-edc79c396aec
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved automated inter-branch merge.

@kubaflo
kubaflo disabled auto-merge August 30, 2026 21:59
@kubaflo
kubaflo merged commit 3249846 into release/11.0.1xx-rc1 Aug 30, 2026
23 of 30 checks passed
@kubaflo
kubaflo deleted the merge/net11.0-to-release/11.0.1xx-rc1 branch August 30, 2026 21:59
@github-actions github-actions Bot added this to the .NET 11.0-rc1 milestone Aug 30, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants