facebook/fresco

PlaceholderImageScaleType sometimes doesn't work

Open

#2.481 aberto em 25 de mar. de 2020

Ver no GitHub
 (12 comments) (0 reactions) (0 assignees)Java (3.750 forks)batch import
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (17.072 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

PlaceholderImageScaleType doesn't work

  • When I use the attribute of the roundedcorner, placeholderImageScaleType not normal work, like I set, on the system version for Android P's phone

  • Fresco version:com.facebook.fresco:fresco:2.1.0

 <com.facebook.drawee.view.SimpleDraweeView
        android:id="@+id/draweePoiIcon"
        android:layout_width="70dp"
        android:layout_height="50dp"
        android:layout_marginStart="12dp"
        android:layout_marginTop="12dp"
        android:scaleType="fitCenter"
        app:actualImageScaleType="fitCenter"
        app:placeholderImage="@drawable/poi_detail_image_place_holder"
        app:placeholderImageScaleType="fitCenter"
        app:roundedCornerRadius="5dp" />

  • The actual rendering shown:
  • The source file used: original_image

  • I hope to get your help. Thank you very much

@oprisnik

Guia do colaborador