[Suggestion] Flatten Layout hierarchy by using constraintlayout
See original GitHub issueIssue details / Repro steps / Use case background: Do you think it would be better if we use constraintlayout in appintro_intro_layout 1 and 2? That way we might gain some performance. But then we would have a dependency on constraintlayout… If you agree I will submit a PR with the required changes, so let me know what you think.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Build a Responsive UI with ConstraintLayout
ConstraintLayout allows you to create large and complex layouts with a flat view hierarchy (no nested view groups). It's similar to RelativeLayout in...
Read more >Understanding the performance benefits of ConstraintLayout
As this example shows, the layout now has a completely flat hierarchy. This is because ConstraintLayout allows you to build complex layouts ......
Read more >The Essential Components of ConstraintLayout
A flat view hierarchy is very beneficial in the case of performance analysis. We could say that ConstraintLayout is the combination of the...
Read more >Android ConstraintLayout Example Tutorial
The aim of ConstraintLayout is to improve the performance of the applications by removing the nested views with a flat and flexible design....
Read more >Jetpack Compose's Rows and Column or ConstraintLayout?
Since then the Google team has advocated developers to use ConstraintLayout, simply because it is a flattened hierarchy, and will result in…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s go for
com.github.appintro.example
😃 (no uppercase)That’s a good idea 😃
I think that the performance gain/impact here is really minimal. I’d rather point out that this will cleanup the code a bit and modernize the layout generally.
Not a major problem as ConstraintLayout starts to be widely used, so we won’t impact the user of the library so much.