[fenix] For https://github.com/mozilla-mobile/fenix/issues/8795: remove redundant ConstraintLayout around BrowserToolbar. (https://github.com/mozilla-mobile/fenix/pull/12014)
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).pull/600/head
parent
a564b2a2fc
commit
8ce6fe330e
Loading…
Reference in New Issue