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

The blur view will show part when execute scale animator #49

Open
aiynmm opened this issue Aug 14, 2020 · 0 comments
Open

The blur view will show part when execute scale animator #49

aiynmm opened this issue Aug 14, 2020 · 0 comments

Comments

@aiynmm
Copy link

aiynmm commented Aug 14, 2020

The layout is very sample:

<FrameLayout
        android:id="@+id/save_pic"
        android:layout_width="match_parent"
        android:layout_height="match_parent">


        <ImageView
            android:id="@+id/pic_holder"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:scaleType="centerCrop"
            android:src="@mipmap/share_pic_1" />


        <com.github.mmin18.widget.RealtimeBlurView
            android:id="@+id/blur_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:realtimeBlurRadius="10dp"
            app:realtimeOverlayColor="#4DFFFFFF" />
</FrameLayout>

Then, I want to the framelayout execute a scale animator.

View savePic  = findViewById(R.id.save_pic);
savePic.animate().scaleX(0.8f).scaleY(0.8f).start();

Finally,I found the bottom and right part of the layout had no blur effect.

@aiynmm aiynmm changed the title The blur view will show part when execute scale animate The blur view will show part when execute scale animator Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant