CameraKit / blurkit-android

The missing Android blurring library. Fast blur-behind layout that parallels iOS.
MIT License
3.72k stars 309 forks source link

BlurLayout bottom padding with match_parent height #21

Closed smartvdd closed 5 years ago

smartvdd commented 7 years ago

When BlurLayout height is match_parent, it appears bottom padding. Seems an issue in this line bottomOffset = y + height + bottomOffset <= screenHeight ? bottomOffset : 0; U'r using height instead of getHeight(), but in rightOffset code uses getWidth()

emersoncloud commented 5 years ago

Thanks for the issue. I'll do some testing and let you know what I find. Expect an answer on this next week.