mmin18 / RealtimeBlurView

A realtime blurring overlay for Android (like iOS UIVisualEffectView)
Other
3.21k stars 350 forks source link

BUG #50

Open DuShuYuan opened 4 years ago

DuShuYuan commented 4 years ago

When android:layout_marginTop="-45dp" is set, the partial blur effect of the status bar is invalid

<com.github.mmin18.widget.RealtimeBlurView
    android:id="@+id/blur"
    android:layout_width="match_parent"
    **android:layout_marginTop="-45dp"**
    app:realtimeOverlayColor="#00000000"
    app:realtimeBlurRadius="50dp"
    android:layout_height="match_parent"/>