diff --git a/src/Controls/src/Core/Compatibility/Handlers/Android/FrameRenderer.cs b/src/Controls/src/Core/Compatibility/Handlers/Android/FrameRenderer.cs index 2b7802aadfd3..2fbfd43da6e0 100644 --- a/src/Controls/src/Core/Compatibility/Handlers/Android/FrameRenderer.cs +++ b/src/Controls/src/Core/Compatibility/Handlers/Android/FrameRenderer.cs @@ -272,6 +272,8 @@ void UpdateBackground() _backgroundDrawable = new GradientDrawable(); _backgroundDrawable.SetShape(ShapeType.Rectangle); this.SetBackground(_backgroundDrawable); + UpdateBorderColor(); + UpdateCornerRadius(); } UpdateBackgroundColor(); diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/FrameCornerRadiusShouldnotChange.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/FrameCornerRadiusShouldnotChange.png new file mode 100644 index 000000000000..5aa8cb637cf3 Binary files /dev/null and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/FrameCornerRadiusShouldnotChange.png differ diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue23951.xaml b/src/Controls/tests/TestCases.HostApp/Issues/Issue23951.xaml new file mode 100644 index 000000000000..ff4d0b6678bb --- /dev/null +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue23951.xaml @@ -0,0 +1,24 @@ + + + + + + + + + + +