commit | 6b7f4e71254cd82cb660c054b65c5d9b060938ba | [log] [tgz] |
---|---|---|
author | Clemens Arbesser <arbesser@google.com> | Thu Feb 21 16:40:10 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 21 16:40:10 2019 |
tree | a94ae115e1b2ff02a08e0151990360584e40e9e6 | |
parent | 2b70cbc05bdca9450561eb611ded34fb3ee3e888 [diff] |
[Autofill Assistant] Changes to the Details UI and proto in preparation of new use-cases. This CL changes the details proto and UI to be more generally applicable. Native and Java code is refactored as necessary. On the UI side, the details are now displayed in 3 lines (rather than 2) with an optional 'price' section which is only shown if a price was set in the proto. Also, the image and the text are now top-aligned. The text is now allowed to grow vertically. This ensures that all 3 lines are visible to the user, even if the height of the text exceeds the height of the image. Before: https://screenshot.googleplex.com/ho1h8whMajL.png After: https://screenshot.googleplex.com/3gjogu36eF0.png After, with price: https://screenshot.googleplex.com/sZWSTNA2XkO.png After, font too large: https://screenshot.googleplex.com/f1G6gMxpAUo.png After, font too small: https://screenshot.googleplex.com/iNjM23BhKXi.png If only 2 lines of information are available, the UI will remain top-aligned: After, only theater: https://screenshot.googleplex.com/Fb76fk9sPKv.png After, only datetime: https://screenshot.googleplex.com/4fYDGmgwQgC.png Bug: 806868 Change-Id: Ie32e8b73830dc80e97f9fd010d8ddfff551d4053 Reviewed-on: https://chromium-review.googlesource.com/c/1477020 Commit-Queue: Clemens Arbesser <arbesser@google.com> Reviewed-by: Theresa <twellington@chromium.org> Reviewed-by: Stephane Zermatten <szermatt@chromium.org> Cr-Commit-Position: refs/heads/master@{#634218}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .