xamarin/Xamarin.Forms

[Android] Aspect filling an image draws on frame border

Aperta

#7034 aperta il 31 lug 2019

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/2 :clock2:help wantedi/lowp/Androidt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor