This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For #8795: remove redundant ConstraintLayout around BrowserToolbar.
This is functionally equivalent to the code before this patch but should be slightly more performant in theory because ConstraintLayout is expensive to inflate. The elevation and layoutParams set dynamically appeared to have no effect with the wrapping view but broke the view when used by itself so I had to remove them. I also updated a few other unnecessary params. Theoretically this may have some perf benefits but I didn't see anything outside noise levels after I took the numbers (but I didn't try very hard).
- Loading branch information
Showing
3 changed files
with
15 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters