Open
Description
Description
Hi, everybody
Cornerradius is incorrectly applied on Android for ImageButton if you use the Uri image. 🐞The problem has been there for a very long time, from the very beginning .net 9
IOS is applied correctly:
Android is incorrectly applied 🐞:
Steps to Reproduce
- Create a File > New .NET MAUI App
- Add a
ImageButton
like so:
<Grid ColumnDefinitions="auto,*" ColumnSpacing="8">
<ImageButton Source="https://raw.githubusercontent.com/jamesmontemagno/app-monkeys/master/baboon.jpg" Command="{Binding OpenSomethingCommand}" WidthRequest="84" HeightRequest="92" CornerRadius="8" BorderWidth="1" BorderColor="Blue" Aspect="AspectFill" />
<VerticalStackLayout Grid.Column="1">
<Label Text="Header text" />
<Label Text="Description text" />
</VerticalStackLayout>
</Grid>
Expected outcome: CornerRadius should work just like on iOS
Link to public reproduction project repository
No response
Version with bug
9.0.60 SR6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.60 SR6
Affected platforms
Android
Affected platform versions
Visual Studio 17.13.6, Android API 35, IOS 18.4, MAUI 9.0.60 SR6
Did you find any workaround?
No response