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()
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 usingheight
instead ofgetHeight()
, but in rightOffset code usesgetWidth()