New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 802935 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocked on:
issue 802913

Blocking:
issue 803087
issue 807381



Sign in to add a comment

[Snowflake] Update list styles to Modern

Project Member Reported by hannahs@chromium.org, Jan 17 2018

Issue description

This bug is to fully implement the new Material list style which includes the follow updates:

-Adding 36x36 grey circles (#F1F3F4) behind icons (centered around the 16x16dp favicons)
-Favicons move 2dp to the left so the padding to the left and right of the grey circles is 16dp)
-Text moves 4dp to the left (so the padding between the circle and the text is 16dp)

As a result, all icons and titles in the headers using this list style should be left aligned with the new list style icons and text which affects the following pages:

- Bookmarks choose folder view
- Bookmarks search list results (omnibox)
- Bookmarks edit + selected item
- Downloads edit + selected item

Also note:

- Retain current row height for single line items
- Single line titles (Dates etc.) that were previously 13dp change to 14dp
- Remove 13dp from xml (if not already done in blocking bug)
- No change to the downloads pending text styles

Interactive redlines here:
https://folio.googleplex.com/modernliststyle

Mock attached that highlights the changes in pink:


 
changes in pink.jpg
216 KB View Download
Blocking: 803087
Cc: twelling...@chromium.org
Screenshots attached of current modern list style on KitKat N5 for reference.

Could we launch modern without these changes (is this really P3 polish)?


> Favicons move 2dp to the left so the padding to the left and right of the grey circles is 16dp)

I think the padding in front of the grey circles is already 16dp, and the favicons are centered inside the circles.

> Text moves 4dp to the left (so the padding between the circle and the text is 16dp)

Changing the position of the text in the toolbar is a challenge because we use the Android toolbar widget rather than a custom layout. We can change the title start/end margin, but this doesn't give us the ability to move the text over very far to the left. It appears that most of the space in front of the text is due to padding on navigation icon or otherwise set internally in Toolbar.java.

I think we should move away from the Android Toolbar widget since it makes custom positioning hard, but this is likely a larger change that will take some time.
Screenshot_2018-01-30-00-23-11.png
99 KB View Download
Screenshot_2018-01-30-00-23-22.png
106 KB View Download
Screenshot_2018-01-30-00-23-28.png
94.0 KB View Download
Sounds good, I'll separate out toolbar text positioning / Android toolbar widget changes (as this is a new Material list style, I will check with the Android team to see if they anticipate making this change as well).

Otherwise, everything lgtm except for the omnibox cancel "x" icon in Screenshot_2018-01-30-00-23-22.png Would it be possible to move that to the right a few dp so that it's aligned with the overflow icon? It's non blocking but would be a nice to have...
Blocking: 807381
Owner: twelling...@chromium.org
Status: Started (was: Untriaged)
Screenshots for in-flight patch to move the 'x' button.
Screenshot_20180130-230649.png
168 KB View Download
Screenshot_20180130-230714.png
198 KB View Download
Screenshot_2018-01-30-23-08-30.png
161 KB View Download
Screenshot_2018-01-30-23-08-39.png
200 KB View Download
lgtm!
-insert pacha perfect meme :)


Project Member

Comment 8 by bugdroid1@chromium.org, Jan 31 2018

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

commit ebd237afe3eebb8545472443ce45ac3a81449511
Author: Theresa <twellington@chromium.org>
Date: Wed Jan 31 00:14:58 2018

[Modern] Adjust padding for list style clear search button

BUG= 802935 

Change-Id: I7e935c623fc70e51e9989a80bde32135b0f0a1b8
Reviewed-on: https://chromium-review.googlesource.com/894643
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Commit-Queue: Theresa <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533104}
[modify] https://crrev.com/ebd237afe3eebb8545472443ce45ac3a81449511/chrome/android/java/res/values/dimens.xml

Status: Fixed (was: Started)
Fixed for v1. Additional changes are being tracked by  issue 807381 .

Sign in to add a comment