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

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

Issue 914003002: Use ButtonCompat to get Material-y buttons in more places. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 -->
6 5
7 <resources> 6 <resources>
8 <!-- Certificate Viewer Dimensions --> 7 <!-- Certificate Viewer Dimensions -->
9 <dimen name="certificate_viewer_padding_wide">24dp</dimen> 8 <dimen name="certificate_viewer_padding_wide">24dp</dimen>
10 <dimen name="certificate_viewer_padding_thin">16dp</dimen> 9 <dimen name="certificate_viewer_padding_thin">16dp</dimen>
11 10
12 <!-- Website Settings Popup Dimensions --> 11 <!-- Website Settings Popup Dimensions -->
13 <dimen name="website_settings_popup_padding_sides">16dp</dimen> 12 <dimen name="website_settings_popup_padding_sides">16dp</dimen>
14 <dimen name="website_settings_popup_button_text_size">14sp</dimen> 13 <dimen name="website_settings_popup_button_text_size">14sp</dimen>
15 <dimen name="website_settings_popup_button_height">36dp</dimen> 14 <dimen name="website_settings_popup_button_height">36dp</dimen>
(...skipping 19 matching lines...) Expand all
35 <!-- The amount to fade the edges of the menu to indicate more content is av ailable 34 <!-- The amount to fade the edges of the menu to indicate more content is av ailable
36 via scrolling. --> 35 via scrolling. -->
37 <dimen name="menu_vertical_fade_distance">15dp</dimen> 36 <dimen name="menu_vertical_fade_distance">15dp</dimen>
38 37
39 <!-- Menu button dragging related dimensions --> 38 <!-- Menu button dragging related dimensions -->
40 <dimen name="auto_scroll_full_velocity">500dp</dimen> 39 <dimen name="auto_scroll_full_velocity">500dp</dimen>
41 40
42 <!-- Infobar dimensions --> 41 <!-- Infobar dimensions -->
43 <!-- Text size of the infobar message. --> 42 <!-- Text size of the infobar message. -->
44 <dimen name="infobar_text_size">16sp</dimen> 43 <dimen name="infobar_text_size">16sp</dimen>
45 <!-- Text size of text inside infobar buttons. -->
46 <dimen name="infobar_button_text_size">14sp</dimen>
47 <!-- Minimum width of an infobar. --> 44 <!-- Minimum width of an infobar. -->
48 <dimen name="infobar_min_width">220dp</dimen> 45 <dimen name="infobar_min_width">220dp</dimen>
49 <!-- Margin between items in an infobar. --> 46 <!-- Margin between items in an infobar. -->
50 <dimen name="infobar_margin">16dp</dimen> 47 <dimen name="infobar_margin">16dp</dimen>
51 <!-- Left/right padding for infobar button text. -->
52 <dimen name="infobar_button_horizontal_padding">20dp</dimen>
53 <!-- Minimum height for a touch target. --> 48 <!-- Minimum height for a touch target. -->
54 <dimen name="infobar_touch_target_height">40dp</dimen> 49 <dimen name="infobar_touch_target_height">40dp</dimen>
55 <!-- Width and height of the infobar icon. --> 50 <!-- Width and height of the infobar icon. -->
56 <dimen name="infobar_icon_size">36dp</dimen> 51 <dimen name="infobar_icon_size">36dp</dimen>
57 52
58 <!-- App banner dimensions --> 53 <!-- App banner dimensions -->
59 <dimen name="app_banner_infobar_icon_size">48dp</dimen> 54 <dimen name="app_banner_infobar_icon_size">48dp</dimen>
60 <dimen name="app_banner_infobar_icon_spacing">16dp</dimen> 55 <dimen name="app_banner_infobar_icon_spacing">16dp</dimen>
61 56
62 <dimen name="app_banner_max_width">424dp</dimen> 57 <dimen name="app_banner_max_width">424dp</dimen>
(...skipping 24 matching lines...) Expand all
87 82
88 <dimen name="app_banner_star_height">16dp</dimen> 83 <dimen name="app_banner_star_height">16dp</dimen>
89 84
90 <!-- Password generation popup dimensions --> 85 <!-- Password generation popup dimensions -->
91 <dimen name="password_generation_divider_height">1dp</dimen> 86 <dimen name="password_generation_divider_height">1dp</dimen>
92 <dimen name="password_generation_text_size">14sp</dimen> 87 <dimen name="password_generation_text_size">14sp</dimen>
93 <dimen name="password_generation_horizontal_margin">10dp</dimen> 88 <dimen name="password_generation_horizontal_margin">10dp</dimen>
94 <dimen name="password_generation_text_vertical_margin">12dp</dimen> 89 <dimen name="password_generation_text_vertical_margin">12dp</dimen>
95 90
96 <!-- Preferences dimensions --> 91 <!-- Preferences dimensions -->
97 <!-- TODO(twellington): Remove/update the button dimens after AppCompat adds button support. -->
98 <dimen name="pref_button_margin_start">0dp</dimen>
99 <dimen name="pref_button_corner_radius">2dp</dimen>
100 <dimen name="pref_button_horizontal_padding">16dp</dimen>
101 <dimen name="pref_button_vertical_padding">10dp</dimen>
102
103 <dimen name="pref_homepage_layout_margin">10dp</dimen> 92 <dimen name="pref_homepage_layout_margin">10dp</dimen>
104 <dimen name="pref_autofill_field_horizontal_padding">3dp</dimen> 93 <dimen name="pref_autofill_field_horizontal_padding">3dp</dimen>
105 <dimen name="pref_autofill_field_top_padding">10dp</dimen> 94 <dimen name="pref_autofill_field_top_padding">10dp</dimen>
106 95
107 <!-- Minimum height/width for a touchable item --> 96 <!-- Minimum height/width for a touchable item -->
108 <dimen name="min_touch_target_size">48dp</dimen> 97 <dimen name="min_touch_target_size">48dp</dimen>
109 98
110 <!-- Text bubble dimensions --> 99 <!-- Text bubble dimensions -->
111 <!-- Tooltip min distance from the edge of the screen. --> 100 <!-- Tooltip min distance from the edge of the screen. -->
112 <dimen name="tooltip_min_edge_margin">3dp</dimen> 101 <dimen name="tooltip_min_edge_margin">3dp</dimen>
(...skipping 21 matching lines...) Expand all
134 <!-- User Picture Dimensions --> 123 <!-- User Picture Dimensions -->
135 <dimen name="user_picture_size">40dp</dimen> 124 <dimen name="user_picture_size">40dp</dimen>
136 <dimen name="badged_user_picture_height">40dp</dimen> 125 <dimen name="badged_user_picture_height">40dp</dimen>
137 <!-- The design spec is that the center of the badge should be 4dp from the right edge of the 126 <!-- The design spec is that the center of the badge should be 4dp from the right edge of the
138 user picture. This is equivalent to a badged_user_picture_width of 46dp assu ming a badge_radius 127 user picture. This is equivalent to a badged_user_picture_width of 46dp assu ming a badge_radius
139 of 10dp. --> 128 of 10dp. -->
140 <dimen name="badged_user_picture_width">46dp</dimen> 129 <dimen name="badged_user_picture_width">46dp</dimen>
141 <dimen name="badge_radius">10dp</dimen> 130 <dimen name="badge_radius">10dp</dimen>
142 <dimen name="badge_border_size">1.3dp</dimen> 131 <dimen name="badge_border_size">1.3dp</dimen>
143 </resources> 132 </resources>
OLDNEW
« no previous file with comments | « chrome/android/java/res/values/colors.xml ('k') | chrome/android/java/src/org/chromium/chrome/browser/Tab.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698