Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: chrome/android/java/res/values/dimens.xml

Issue 2731303002: [NTP::Downloads] Replace 36dp file type resources with vector drawables. (Closed)
Patch Set: dfalcantara@ comments + fix. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <resources> 6 <resources>
7 <!-- Connection info popup dimensions --> 7 <!-- Connection info popup dimensions -->
8 <dimen name="connection_info_padding_wide">24dp</dimen> 8 <dimen name="connection_info_padding_wide">24dp</dimen>
9 <dimen name="connection_info_padding_thin">16dp</dimen> 9 <dimen name="connection_info_padding_thin">16dp</dimen>
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 <dimen name="ntp_search_box_height">62dp</dimen> 287 <dimen name="ntp_search_box_height">62dp</dimen>
288 <dimen name="ntp_search_box_shadow_width">4dp</dimen> 288 <dimen name="ntp_search_box_shadow_width">4dp</dimen>
289 <dimen name="ntp_search_box_transition_length">16dp</dimen> 289 <dimen name="ntp_search_box_transition_length">16dp</dimen>
290 <dimen name="ntp_wide_card_lateral_margins">48dp</dimen> 290 <dimen name="ntp_wide_card_lateral_margins">48dp</dimen>
291 <dimen name="ntp_list_item_min_height">48dp</dimen> 291 <dimen name="ntp_list_item_min_height">48dp</dimen>
292 <dimen name="ntp_list_item_text_size">16sp</dimen> 292 <dimen name="ntp_list_item_text_size">16sp</dimen>
293 <dimen name="ntp_shadow_height">9dp</dimen> 293 <dimen name="ntp_shadow_height">9dp</dimen>
294 <dimen name="ntp_sign_in_promo_margin_top">20dp</dimen> 294 <dimen name="ntp_sign_in_promo_margin_top">20dp</dimen>
295 <dimen name="ntp_progress_indicator_diameter">56dp</dimen> 295 <dimen name="ntp_progress_indicator_diameter">56dp</dimen>
296 <dimen name="snippets_thumbnail_size">72dp</dimen> 296 <dimen name="snippets_thumbnail_size">72dp</dimen>
297 <!-- file type icon size = snippets_thumbnail_size - 2 * padding -->
298 <dimen name="snippets_thumbnail_file_type_icon_padding">20dp</dimen>
297 <dimen name="snippets_thumbnail_margin">16dp</dimen> 299 <dimen name="snippets_thumbnail_margin">16dp</dimen>
298 <!-- The default padding for the peeking card and the amount the card peeks by in the current 300 <!-- The default padding for the peeking card and the amount the card peeks by in the current
299 peeking card animation (the calculations assume this is the same). --> 301 peeking card animation (the calculations assume this is the same). -->
300 <dimen name="snippets_padding">16dp</dimen> 302 <dimen name="snippets_padding">16dp</dimen>
301 <!-- The amount of the peeking card showing above the fold with the increase d visibility UI 303 <!-- The amount of the peeking card showing above the fold with the increase d visibility UI
302 (https://crbug.com/660837). --> 304 (https://crbug.com/660837). -->
303 <dimen name="snippets_peeking_card_peek_amount">32dp</dimen> 305 <dimen name="snippets_peeking_card_peek_amount">32dp</dimen>
304 <dimen name="snippets_peeking_card_bounce_distance">10dp</dimen> 306 <dimen name="snippets_peeking_card_bounce_distance">10dp</dimen>
305 <dimen name="snippets_card_gap">0.5dp</dimen> 307 <dimen name="snippets_card_gap">0.5dp</dimen>
306 <dimen name="snippets_article_header_height">40dp</dimen> 308 <dimen name="snippets_article_header_height">40dp</dimen>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 is doubled. --> 395 is doubled. -->
394 <dimen name="pref_autofill_dropdown_bottom_margin">16dp</dimen> 396 <dimen name="pref_autofill_dropdown_bottom_margin">16dp</dimen>
395 <dimen name="pref_autofill_touch_target_padding">15dp</dimen> 397 <dimen name="pref_autofill_touch_target_padding">15dp</dimen>
396 398
397 <!-- Dialog dimensions. 399 <!-- Dialog dimensions.
398 https://www.google.com/design/spec/components/dialogs.html#dialogs-simp le-dialogs --> 400 https://www.google.com/design/spec/components/dialogs.html#dialogs-simp le-dialogs -->
399 <dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are mult iples of this. --> 401 <dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are mult iples of this. -->
400 402
401 <!-- Downloads dimensions. --> 403 <!-- Downloads dimensions. -->
402 <dimen name="downloads_item_icon_size">48dp</dimen> 404 <dimen name="downloads_item_icon_size">48dp</dimen>
405 <!-- file type icon size = downloads_item_icon_size - 2 * padding -->
406 <dimen name="downloads_item_file_type_icon_padding">12dp</dimen>
403 <dimen name="downloads_item_margin">16dp</dimen> 407 <dimen name="downloads_item_margin">16dp</dimen>
404 408
405 <!-- SelectableListLayout styles --> 409 <!-- SelectableListLayout styles -->
406 <dimen name="selectable_list_layout_end_icon">24dp</dimen> 410 <dimen name="selectable_list_layout_end_icon">24dp</dimen>
407 <dimen name="selectable_list_layout_row_end_padding">16dp</dimen> 411 <dimen name="selectable_list_layout_row_end_padding">16dp</dimen>
408 <dimen name="selectable_list_layout_start_icon_width">56dp</dimen> 412 <dimen name="selectable_list_layout_start_icon_width">56dp</dimen>
409 <dimen name="toolbar_wide_display_nav_icon_offset">-18dp</dimen> 413 <dimen name="toolbar_wide_display_nav_icon_offset">-18dp</dimen>
410 <dimen name="toolbar_wide_display_end_offset">-14dp</dimen> 414 <dimen name="toolbar_wide_display_end_offset">-14dp</dimen>
411 415
412 <!-- Miscellaneous dimensions --> 416 <!-- Miscellaneous dimensions -->
413 <dimen name="action_bar_shadow_height">10dp</dimen> 417 <dimen name="action_bar_shadow_height">10dp</dimen>
414 <dimen name="card_corner_radius">2dp</dimen> 418 <dimen name="card_corner_radius">2dp</dimen>
415 <dimen name="list_item_corner_radius">3dp</dimen> 419 <dimen name="list_item_corner_radius">3dp</dimen>
416 <dimen name="list_item_lateral_padding">1dp</dimen> 420 <dimen name="list_item_lateral_padding">1dp</dimen>
417 <dimen name="history_default_text_margin">16dp</dimen> 421 <dimen name="history_default_text_margin">16dp</dimen>
418 </resources> 422 </resources>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698