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 建立於 2018年8月22日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Java (17,072 star) (3,750 fork)batch import
buggood first issue

描述

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

貢獻者指南