1 | initial version |
No, using linear/relative layouts within a constraint layout is not incorrect. In fact, it is a common practice to achieve certain layout designs. Constraint layout allows for more flexibility and efficiency in designing complex layouts, and using linear/relative layouts within it can simplify the process for certain elements. However, it is important to keep in mind that using too many nested layouts can impact performance, so it's crucial to optimize the layout hierarchy when possible.