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

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

Issue 2767523002: ❄ Add InfoBarCompactLayout (Closed)
Patch Set: ❄ Experimental compact InfoBar layout 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 <dimen name="infobar_control_margin_between_items">8dp</dimen> 90 <dimen name="infobar_control_margin_between_items">8dp</dimen>
91 <dimen name="infobar_control_margin_between_rows">8dp</dimen> 91 <dimen name="infobar_control_margin_between_rows">8dp</dimen>
92 <dimen name="infobar_control_margin_between_columns">32dp</dimen> 92 <dimen name="infobar_control_margin_between_columns">32dp</dimen>
93 93
94 <!-- Dimensions applied to InfoBars with differently sized icons. --> 94 <!-- Dimensions applied to InfoBars with differently sized icons. -->
95 <dimen name="infobar_small_icon_size">24dp</dimen> 95 <dimen name="infobar_small_icon_size">24dp</dimen>
96 <dimen name="infobar_small_icon_margin">8dp</dimen> 96 <dimen name="infobar_small_icon_margin">8dp</dimen>
97 <dimen name="infobar_big_icon_size">48dp</dimen> 97 <dimen name="infobar_big_icon_size">48dp</dimen>
98 <dimen name="infobar_big_icon_margin">16dp</dimen> 98 <dimen name="infobar_big_icon_margin">16dp</dimen>
99 99
100 <!-- Dimensions for compact infobars are a little shorter. -->
101 <dimen name="infobar_compact_size">48dp</dimen>
102
100 <!-- Contextual search dimensions --> 103 <!-- Contextual search dimensions -->
101 <dimen name="contextual_search_peek_promo_height">48dp</dimen> 104 <dimen name="contextual_search_peek_promo_height">48dp</dimen>
102 <dimen name="contextual_search_peek_promo_padding">12dp</dimen> 105 <dimen name="contextual_search_peek_promo_padding">12dp</dimen>
103 <dimen name="contextual_search_caption_text_size">14sp</dimen> 106 <dimen name="contextual_search_caption_text_size">14sp</dimen>
104 <dimen name="contextual_search_static_image_size">36dp</dimen> 107 <dimen name="contextual_search_static_image_size">36dp</dimen>
105 <!-- The following two dimensions were taking from the UI specs for contextu al search, where 108 <!-- The following two dimensions were taking from the UI specs for contextu al search, where
106 they were 36dp and 3dp respectively, but have been updated to allow for padd ing around 109 they were 36dp and 3dp respectively, but have been updated to allow for padd ing around
107 TextViews that we cannot get rid of. --> 110 TextViews that we cannot get rid of. -->
108 <dimen name="contextual_search_text_layer_min_height">38dp</dimen> 111 <dimen name="contextual_search_text_layer_min_height">38dp</dimen>
109 <dimen name="contextual_search_term_caption_spacing">1.5dp</dimen> 112 <dimen name="contextual_search_term_caption_spacing">1.5dp</dimen>
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 <dimen name="design_bottom_navigation_active_text_size">14sp</dimen> 434 <dimen name="design_bottom_navigation_active_text_size">14sp</dimen>
432 435
433 <!-- Miscellaneous dimensions --> 436 <!-- Miscellaneous dimensions -->
434 <dimen name="action_bar_shadow_height">10dp</dimen> 437 <dimen name="action_bar_shadow_height">10dp</dimen>
435 <dimen name="card_corner_radius">2dp</dimen> 438 <dimen name="card_corner_radius">2dp</dimen>
436 <dimen name="list_item_corner_radius">3dp</dimen> 439 <dimen name="list_item_corner_radius">3dp</dimen>
437 <dimen name="list_item_lateral_padding">1dp</dimen> 440 <dimen name="list_item_lateral_padding">1dp</dimen>
438 <dimen name="history_default_text_margin">16dp</dimen> 441 <dimen name="history_default_text_margin">16dp</dimen>
439 <dimen name="chrome_home_empty_view_top_padding">16dp</dimen> 442 <dimen name="chrome_home_empty_view_top_padding">16dp</dimen>
440 </resources> 443 </resources>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698