Adds edge detection on layoutViews.