Chromium Code Reviews
DescriptionAdjust the footer layout in ClearBrowsingDataPreferences
1. According to the material design specification, the icon in the footer
should be aligned with the top of the footer text. However, this does
not look correctly, as there is still empty space between the top of
the TextView and the actual top of the tallest letter. Therefore, we
lower the icon a few pixels to match the ascender line of the font.
2. The default padding of preferences is 16dp. This means that the spacing
around the two footer paragraphs is 16dp-32dp-16dp. Our mocks require
16dp-16dp-24dp. We therefore define the default bottom padding to be 24dp,
leading to 16dp-40dp-24dp, then remove the bottom padding of the first
paragraph, leading to the correct 16dp-16dp-24dp.
BUG=602253
Committed: https://crrev.com/5301cfa576d36e6d84acd6e2ca33f74047140ed9
Cr-Commit-Position: refs/heads/master@{#386951}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||