question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BlurKit doesn't blur the whole width of screen

See original GitHub issue

Blurkit doesn’t blur the whole width of screen in constraint layout. the last portion of the screen on the right is not blurred.And changing the blur radius doesn’t affect it.

 <io.alterac.blurkit.BlurLayout
            android:id="@+id/blurLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:blk_fps="0"
            app:blk_blurRadius="7"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent">

Here is a screenshot: device-2019-11-13-142230

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
diegocunhawarrencommented, Mar 17, 2020

I fixed this calling an invalidate right after my image is loaded (i’m using a dynamic image retrieved by Picasso) and it working well to me

0reactions
marticztncommented, Aug 22, 2021

This will pause the blur after 300ms and it should blur the whole width of the screen

new Handler().postDelayed(() -> { blurLayout.setFPS(0); blurLayout.lockView(); blurLayout.invalidate(); }, 300);

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transparent blurry view which blurs layout underneath
An alternative to this is to create a Bitmap using the dimensions of the view you need to blur: Bitmap toDrawOn = Bitmap.createBitmap(viewWidth,...
Read more >
BlurKit Implementation and Features - v1.0.0 - YouTube
BlurKit is an easy to use and performant utility to render real-time blur effects in Android. This tutorial covers the setup and features...
Read more >
blur() - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The blur() CSS function applies a Gaussian blur to the input image. ... i.e., how many pixels on the screen blend into each...
Read more >
BECCA Prep & Set Brightening Blur Kit-BNIB/Sealed - eBay
BECCA Prep & Set Brightening Blur Kit-BNIB/Sealed -Travel Size*. ... BECCA Cosmetics Prep & Set Blur Kit Primer & Powder NIB ... Does...
Read more >
Use the Blur Gallery in Photoshop - Adobe Support
Photoshop provides a full-size, live preview when you work with the Blur Gallery effects. Choose Filter > Blur Gallery and then select the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found