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

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

Issue 2789133002: [NTP::Downloads] Store file type icon padding as a constant. (Closed)
Patch Set: mvanouwerkerk@ nits. Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 <dimen name="ntp_search_box_height">62dp</dimen> 298 <dimen name="ntp_search_box_height">62dp</dimen>
299 <dimen name="ntp_search_box_shadow_width">4dp</dimen> 299 <dimen name="ntp_search_box_shadow_width">4dp</dimen>
300 <dimen name="ntp_search_box_transition_length">16dp</dimen> 300 <dimen name="ntp_search_box_transition_length">16dp</dimen>
301 <dimen name="ntp_wide_card_lateral_margins">48dp</dimen> 301 <dimen name="ntp_wide_card_lateral_margins">48dp</dimen>
302 <dimen name="ntp_list_item_min_height">48dp</dimen> 302 <dimen name="ntp_list_item_min_height">48dp</dimen>
303 <dimen name="ntp_list_item_text_size">16sp</dimen> 303 <dimen name="ntp_list_item_text_size">16sp</dimen>
304 <dimen name="ntp_shadow_height">9dp</dimen> 304 <dimen name="ntp_shadow_height">9dp</dimen>
305 <dimen name="ntp_sign_in_promo_margin_top">20dp</dimen> 305 <dimen name="ntp_sign_in_promo_margin_top">20dp</dimen>
306 <dimen name="ntp_progress_indicator_diameter">56dp</dimen> 306 <dimen name="ntp_progress_indicator_diameter">56dp</dimen>
307 <dimen name="snippets_thumbnail_size">72dp</dimen> 307 <dimen name="snippets_thumbnail_size">72dp</dimen>
308 <!-- file type icon size = snippets_thumbnail_size - 2 * padding -->
309 <dimen name="snippets_thumbnail_file_type_icon_padding">20dp</dimen>
308 <dimen name="snippets_thumbnail_margin">16dp</dimen> 310 <dimen name="snippets_thumbnail_margin">16dp</dimen>
309 <!-- The default padding for the peeking card and the amount the card peeks by in the current 311 <!-- The default padding for the peeking card and the amount the card peeks by in the current
310 peeking card animation (the calculations assume this is the same). --> 312 peeking card animation (the calculations assume this is the same). -->
311 <dimen name="snippets_padding">16dp</dimen> 313 <dimen name="snippets_padding">16dp</dimen>
312 <!-- The amount of the peeking card showing above the fold with the increase d visibility UI 314 <!-- The amount of the peeking card showing above the fold with the increase d visibility UI
313 (https://crbug.com/660837). --> 315 (https://crbug.com/660837). -->
314 <dimen name="snippets_peeking_card_peek_amount">32dp</dimen> 316 <dimen name="snippets_peeking_card_peek_amount">32dp</dimen>
315 <dimen name="snippets_peeking_card_bounce_distance">10dp</dimen> 317 <dimen name="snippets_peeking_card_bounce_distance">10dp</dimen>
316 <dimen name="snippets_card_gap">0.5dp</dimen> 318 <dimen name="snippets_card_gap">0.5dp</dimen>
317 <dimen name="snippets_article_header_height">40dp</dimen> 319 <dimen name="snippets_article_header_height">40dp</dimen>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 <dimen name="action_bar_shadow_height">10dp</dimen> 440 <dimen name="action_bar_shadow_height">10dp</dimen>
439 <dimen name="card_corner_radius">2dp</dimen> 441 <dimen name="card_corner_radius">2dp</dimen>
440 <dimen name="list_item_corner_radius">3dp</dimen> 442 <dimen name="list_item_corner_radius">3dp</dimen>
441 <dimen name="list_item_lateral_padding">1dp</dimen> 443 <dimen name="list_item_lateral_padding">1dp</dimen>
442 <dimen name="history_default_text_margin">16dp</dimen> 444 <dimen name="history_default_text_margin">16dp</dimen>
443 445
444 <!-- Context Menu Dimensions --> 446 <!-- Context Menu Dimensions -->
445 <dimen name="context_menu_header_image_min_size">56dp</dimen> 447 <dimen name="context_menu_header_image_min_size">56dp</dimen>
446 <dimen name="context_menu_header_image_max_size">56dp</dimen> 448 <dimen name="context_menu_header_image_max_size">56dp</dimen>
447 </resources> 449 </resources>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698