|
|
@ -1,4 +1,5 @@ |
|
|
using System.Collections.Generic; |
|
|
using System; |
|
|
|
|
|
using System.Collections.Generic; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using Android.OS; |
|
|
using Android.OS; |
|
|
using AndroidX.Core.View.Accessibility; |
|
|
using AndroidX.Core.View.Accessibility; |
|
|
@ -157,7 +158,7 @@ namespace Avalonia.Android |
|
|
if (labeledBy is not null) |
|
|
if (labeledBy is not null) |
|
|
{ |
|
|
{ |
|
|
GetOrCreateNodeInfoProvidersFromPeer(labeledBy, out int labeledById); |
|
|
GetOrCreateNodeInfoProvidersFromPeer(labeledBy, out int labeledById); |
|
|
nodeInfo.SetLabeledBy(_view, labeledById); |
|
|
nodeInfo.AddLabeledBy(_view, labeledById); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// UI debug metadata
|
|
|
// UI debug metadata
|
|
|
@ -181,7 +182,7 @@ namespace Avalonia.Android |
|
|
_view.TopLevelImpl.PointToScreen(bounds.TopLeft), |
|
|
_view.TopLevelImpl.PointToScreen(bounds.TopLeft), |
|
|
_view.TopLevelImpl.PointToScreen(bounds.BottomRight) |
|
|
_view.TopLevelImpl.PointToScreen(bounds.BottomRight) |
|
|
); |
|
|
); |
|
|
nodeInfo.SetBoundsInParent(new( |
|
|
nodeInfo.SetBoundsInScreen(new( |
|
|
screenRect.X, screenRect.Y, |
|
|
screenRect.X, screenRect.Y, |
|
|
screenRect.Right, screenRect.Bottom |
|
|
screenRect.Right, screenRect.Bottom |
|
|
)); |
|
|
)); |
|
|
|