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

don't support SurfaceView and VideoView #65

Open
Xiang0112 opened this issue Jul 1, 2019 · 2 comments
Open

don't support SurfaceView and VideoView #65

Xiang0112 opened this issue Jul 1, 2019 · 2 comments

Comments

@Xiang0112
Copy link

Xiang0112 commented Jul 1, 2019

I want to show BlurLayout when the video is playing, but videoView and SurfaceView is not suppported. I see you said it support SurfaceView, please how to use. And I find if FrameLayout's background is black BlurLayout's background is black too

This is my code:

<SurfaceView
    android:id="@+id/sv"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />
<io.alterac.blurkit.BlurLayout 
    xmlns:blurkit="http://schemas.android.com/apk/res-auto"
    android:id="@+id/blurLayout"
    android:layout_width="150dp"
    android:layout_height="150dp"
    android:layout_centerInParent="true"
    blurkit:blk_downscaleFactor="0.25">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:text="BlurKit!"
        android:textColor="@android:color/white" />

</io.alterac.blurkit.BlurLayout>
@Xiang0112 Xiang0112 reopened this Jul 1, 2019
@guru3393
Copy link

Hey any update on the how to blur the surface view

@beiger
Copy link

beiger commented Aug 27, 2021

same problem

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

3 participants