New issue
Advanced search Search tips

Issue 816715 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Task



Sign in to add a comment

Remove unnecessary LinearLayout from main.xml

Project Member Reported by tedc...@chromium.org, Feb 26 2018

Issue description

Why does our main.xml have a LinearLayout root element with only a single child view?

https://cs.chromium.org/chromium/src/chrome/android/java/res/layout/main.xml?l=7

Do we add anything as a sibling of CoordinatorLayoutForPointer in code that necessitates that?

This looks like it was changed in:
https://codereview.chromium.org/2560043002
and maybe this is just cruft left over that we can delete?
 
It looks like there used to be other children like "keyboard_accessory" and "bottombar_stub". This can probably be removed now.
Project Member

Comment 2 by bugdroid1@chromium.org, Feb 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a45232edee8a0251f6ed4f7d36085819d8cadc87

commit a45232edee8a0251f6ed4f7d36085819d8cadc87
Author: Matthew Jones <mdjones@chromium.org>
Date: Wed Feb 28 16:31:24 2018

Remove unnecessary linear layout from main.xml

This change removes a linear layout from main.xml that only has a
single child. The one child has been moved to be a child of the root.

BUG= 816715 

Change-Id: I96f1ce26f19c56c9ff69587504bc9a8c6d46c326
Reviewed-on: https://chromium-review.googlesource.com/939650
Reviewed-by: Theresa <twellington@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539846}
[modify] https://crrev.com/a45232edee8a0251f6ed4f7d36085819d8cadc87/chrome/android/java/res/layout/main.xml

Status: Fixed (was: Assigned)

Sign in to add a comment