Skip to content

Image.Shadow inconsistent on Android #13981

@williambuchanan2

Description

@williambuchanan2

Description

Image.Shadow just renders as a blob in Android.

For this code, the below images show what happens:


<Image.Shadow>
     <Shadow Brush="Black" Offset="2,2" Radius="4" Opacity="0.9"/>
</Image.Shadow>

iOS:
image

Android:

image

Steps to Reproduce

<Image  VerticalOptions="Center" Margin="0,0,0,0" Source="{Binding UserProfile.ProfileImageThumbnail, Mode=OneWay, Converter={StaticResource ByteArrayToImage}}" WidthRequest="40" HeightRequest="40" Aspect="AspectFill" HorizontalOptions="Start">
      <Image.Clip>
           <EllipseGeometry RadiusX="18" RadiusY="18" Center="25,25" />
     </Image.Clip>
    <Image.Shadow>
           <Shadow Brush="Black" Offset="2,2" Radius="4" Opacity="0.9"/>
    </Image.Shadow>
</Image>

Link to public reproduction project repository

?

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions