xamarin/Xamarin.Forms

[Android] Aspect filling an image draws on frame border

Ouverte

#7 034 ouverte le 31 juil. 2019

 (2 commentaires) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
e/2 :clock2:help wantedi/lowp/Androidt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur