xamarin/Xamarin.Forms

[Android] Aspect filling an image draws on frame border

Open

#7,034 opened on Jul 31, 2019

 (2 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
e/2 :clock2:help wantedi/lowp/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

iOS and Android treat frame borders differently when an image is stretched inside the frame.

Steps to Reproduce

  1. Run the repro
  2. Observe that you cannot see the left and right borders on Android, but they are visible on iOS. The frame as shown below has 10 vertical padding.

Screenshots

Screenshot_20190731-143936

Reproduction Link

App1555.zip

Contributor guide