Ask Your Question
4

Can using linear/relative layouts within a constraint layout be considered incorrect?

asked 2022-01-08 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-12-08 02:00:00 +0000

devzero gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-01-08 11:00:00 +0000

Seen: 20 times

Last updated: Dec 08 '21