facebook/fresco

I am testing the new features of Android P and found that the footprint of fresco displayed on Android P has been deformed.

Open

#2,192 opened on Aug 22, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Java (3,750 forks)batch import
buggood first issue

Repository metrics

Stars
 (17,072 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

I am testing the new features of Android P and found that the footprint of fresco displayed on Android P has been deformed.

Reproduction <com.facebook.drawee.view.SimpleDraweeView android:id="@+id/iv_avatar" android:layout_width="60dp" android:layout_height="60dp" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_centerVertical="true" android:layout_marginLeft="20dp" android:layout_marginStart="20dp" android:scaleType="centerCrop" fresco:failureImage="@drawable/ic_head" fresco:placeholderImage="@drawable/ic_head" fresco:roundAsCircle="true"/>

Solution

I hope that you can provide a solution that will make the image appear on Android P the same as the previous version. Additional Information

  • Fresco version:1.10.0
  • Platform version: 28

image image

Contributor guide