Checks whether a layout hierarchy is too deep
Layouts with too much nesting is bad for performance. Consider using a flatter layout (such as RelativeLayout
or GridLayout
).The default maximum depth is 10 but can be configured with the environment variable ANDROID_LINT_MAX_DEPTH
.