Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Aspect filling an image draws on frame border #7034

Open
adrianknight89 opened this issue Jul 31, 2019 · 1 comment

Comments

@adrianknight89
Copy link
Contributor

@adrianknight89 adrianknight89 commented Jul 31, 2019

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

@jfversluis

This comment has been minimized.

Copy link
Member

@jfversluis jfversluis commented Aug 6, 2019

A quick workaround for this would be to add a bit of padding on the sides as well to show the border.

But I confirmed that this behavior is shown on Android.

If I would have to guess, it's probably that the Android border is drawn on the inside of the frame while on iOS it is on the outside.

@jfversluis jfversluis added the e/2 🕑 label Aug 6, 2019
@jfversluis jfversluis moved this from New to Ready For Work in Triage Aug 6, 2019
@samhouts samhouts removed this from Ready For Work in Triage Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3 participants
You can’t perform that action at this time.