Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

placeholderImage not in center on Google Pixel XL #2542

Closed
iztou opened this issue Sep 28, 2020 · 3 comments
Closed

placeholderImage not in center on Google Pixel XL #2542

iztou opened this issue Sep 28, 2020 · 3 comments
Assignees

Comments

@iztou
Copy link

iztou commented Sep 28, 2020

Description

        <com.facebook.drawee.view.SimpleDraweeView
            android:id="@+id/circle_click"
            android:layout_width="100dp"
            android:layout_height="100dp"
            app:placeholderImage="@mipmap/icon_default_head"
            app:roundAsCircle="true"
            app:placeholderImageScaleType="centerInside"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <com.facebook.drawee.view.SimpleDraweeView
            android:id="@+id/square_click"
            android:layout_width="100dp"
            android:layout_height="100dp"
            app:placeholderImage="@mipmap/icon_default_head"
            app:placeholderImageScaleType="centerInside"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

20200928_093458
the gif show two images switch visibile to gone and you can see the placeholderimage of the image is not in center

Reproduction

i found it only show on Google Pixel XL , it not reproduce on ONEPLUS 6T .

Solution

Additional Information

  • Fresco version: 2.3.0
  • Platform version: Device : Google Pixel XL
    Android version: 10
@stale
Copy link

stale bot commented Oct 11, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "bug" or "enhancement" and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale label Oct 11, 2020
@iztou
Copy link
Author

iztou commented Oct 13, 2020

it still require to fix

@stale stale bot removed the stale label Oct 13, 2020
@oprisnik oprisnik self-assigned this Oct 16, 2020
@oprisnik
Copy link
Contributor

Hey! This looks like a duplicate of #2277. That should fix your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants