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

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

Issue 2449653002: [Contextual Search] Add support for a static icon (Closed)
Patch Set: Changes from donnd@ review Created 4 years, 1 month 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 <!-- Contextual search dimensions --> 100 <!-- Contextual search dimensions -->
101 <dimen name="contextual_search_peek_promo_height">48dp</dimen> 101 <dimen name="contextual_search_peek_promo_height">48dp</dimen>
102 <dimen name="contextual_search_peek_promo_padding">12dp</dimen> 102 <dimen name="contextual_search_peek_promo_padding">12dp</dimen>
103 <dimen name="contextual_search_caption_text_size">14sp</dimen> 103 <dimen name="contextual_search_caption_text_size">14sp</dimen>
104 <dimen name="contextual_search_thumbnail_size">36dp</dimen> 104 <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 105 <!-- 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 106 they were 36dp and 3dp respectively, but have been updated to allow for padd ing around
107 TextViews that we cannot get rid of. --> 107 TextViews that we cannot get rid of. -->
108 <dimen name="contextual_search_text_layer_min_height">38dp</dimen> 108 <dimen name="contextual_search_text_layer_min_height">38dp</dimen>
109 <dimen name="contextual_search_term_caption_spacing">1.5dp</dimen> 109 <dimen name="contextual_search_term_caption_spacing">1.5dp</dimen>
110 110
111 <!-- Overlay panel dimensions --> 111 <!-- Overlay panel dimensions -->
112 <dimen name="overlay_panel_bar_height">56dp</dimen> 112 <dimen name="overlay_panel_bar_height">56dp</dimen>
113 <dimen name="overlay_panel_text_size">18sp</dimen> 113 <dimen name="overlay_panel_text_size">18sp</dimen>
114 114
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 <dimen name="pref_autofill_field_horizontal_padding">4dp</dimen> 365 <dimen name="pref_autofill_field_horizontal_padding">4dp</dimen>
366 <dimen name="pref_autofill_field_top_margin">8dp</dimen> 366 <dimen name="pref_autofill_field_top_margin">8dp</dimen>
367 367
368 <!-- Dialog dimensions. 368 <!-- Dialog dimensions.
369 https://www.google.com/design/spec/components/dialogs.html#dialogs-simp le-dialogs --> 369 https://www.google.com/design/spec/components/dialogs.html#dialogs-simp le-dialogs -->
370 <dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are mult iples of this. --> 370 <dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are mult iples of this. -->
371 371
372 <!-- Downloads dimensions. --> 372 <!-- Downloads dimensions. -->
373 <dimen name="downloads_item_icon_size">48dp</dimen> 373 <dimen name="downloads_item_icon_size">48dp</dimen>
374 </resources> 374 </resources>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchBarControl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698