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

Issue 802913 link

Starred by 3 users

Issue metadata

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

Blocked on:
issue 803177

Blocking:
issue 802935



Sign in to add a comment

Update dense list style to new Material style with larger title text

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

Issue description

There is a new Material list style with larger text but a shorter row height which allows us to increase the text without losing vertical space.

This bug is to track only the font and row height increase (there will be a separate bug to track implementation of the icon circles and text spacing)

We've gotten feedback from several sources (779137) that the existing list in Bookmarks, History, and Downloads is too small.

Using this new style will allow us to remove the all sizes for Regular 13sp in the xml which was added just for this list UI.

Changelist from the current dense list UI would be:

row height increases (from 60dp to 64dp)
title text size increases (from Regular 13sp to Regular 16sp)
subtitle text size decreases (from Regular 13sp to Regular 14sp)
remove Regular 13sp text from text styles xml

Interactive redlines:
https://folio.googleplex.com/newdenseliststyle#%3Ff=hidden

 
Cc: huayinz@chromium.org
In this line "subtitle text size decreases (from Regular 13sp to Regular 14sp)", should it say "increases" instead?
You are correct.. sorry for the typo!
Also if we're removing 13dp text from the xml, Single line section descriptors (Dates etc.) change to 14dp
Blocking: 802935
Components: UI>Browser>History UI>Browser>Bookmarks UI>Browser>Downloads
Status: Available (was: Untriaged)
Marking as available. Either Becky or I will likely pick this up for M66 polish.
Unless we need it for M65? We can probably squeeze it in today if so.
Cc: candr...@chromium.org k...@chromium.org mmikhailov@google.com
 Issue 779137  has been merged into this issue.
Cc: hanxi@chromium.org
Owner: twelling...@chromium.org
Status: Started (was: Available)
+hanxi@, chrome/android/webapk/shell_apk/res/values/dimens.xml needs to be updated to remove text_size_medium_dense and use text_size_large (16sp) in its place. Is that something you can own?

Screenshots from in-flight CL attached. Hannah, please review. Note that the accessibility tab switcher screenshots attached are only available when Chrome Home is enabled, so we can add polish in a follow-up CL if needed.

https://chromium-review.googlesource.com/#/c/chromium/src/+/871133

Screenshot_20180117-101032.png
220 KB View Download
Screenshot_20180117-101053.png
252 KB View Download
Screenshot_20180117-101100.png
240 KB View Download
Screenshot_20180117-101239.png
291 KB View Download
Screenshot_20180117-101435.png
96.9 KB View Download
Screenshot of an in-progress download, with modern style
Screenshot_20180117-102703.png
254 KB View Download

Comment 10 by hanxi@chromium.org, Jan 17 2018

Yes, I own the demins.xml. Please see the screenshots to compare before and after changing the size:
https://drive.google.com/open?id=1oPk5yoUFnuM_ZlNkgP-tb_fE4jaq2Qep.

I feel the second line "Unsupported" should remain the small size 13dp. However, this needs some extra work, since the dialog items simply contains 2 lines of text with the same size. The dialog belongs to a WebAPKs, so it can't use any Chrome's code.
I suggest using 14sp for the second line of text to match our other "subtitles".
Also, thanks for the fast update!

Comment 13 by hanxi@chromium.org, Jan 17 2018

Blockedon: 803177
lgtm!! Thanks for the quick turnaround guys!!
Project Member

Comment 15 by bugdroid1@chromium.org, Jan 18 2018

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

commit 08d3a523ea0db7de4ab1ddee9ff3ccfdae951099
Author: Theresa Wellington <twellington@google.com>
Date: Thu Jan 18 00:45:48 2018

Update list style text size and min height on Android

Replaces *DenseListText1 with *Title1 and *DenseListText2 with *Body and
removes dense text styles/dimens. Also updates the minimum height for
modern list items.

BUG= 802913 

Change-Id: Idc1fa03235a396b14f6d23156ea59d5bae320796
Reviewed-on: https://chromium-review.googlesource.com/871133
Commit-Queue: Theresa <twellington@chromium.org>
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#529983}
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/android/java/res/layout/download_item_view.xml
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/android/java/res/layout/modern_list_item_view.xml
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/android/java/res/values-v17/styles.xml
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/android/java/res/values/dimens.xml
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/AccessibilityTabModelListItem.java
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/test/data/android/render_tests/BookmarkTest.bookmark_manager_folder_selected.Nexus_5-19.png
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/chrome/test/data/android/render_tests/BookmarkTest.bookmark_manager_one_folder.Nexus_5-19.png
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/ui/android/java/res/values-v17/styles.xml
[modify] https://crrev.com/08d3a523ea0db7de4ab1ddee9ff3ccfdae951099/ui/android/java/res/values/dimens.xml

Status: Fixed (was: Started)

Sign in to add a comment