Only ripple if layout and child view is enabled