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 2773353002: Make minimum PWA icon size the same accross all device densities
Patch Set: Merge branch 'master' into min_size 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/ShortcutHelper.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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 <dimen name="find_in_page_popup_margin_end">62dp</dimen> 218 <dimen name="find_in_page_popup_margin_end">62dp</dimen>
219 219
220 <!-- Web app dimensions 220 <!-- Web app dimensions
221 There are three possible layouts for splash screens, which is chosen ba sed on whether an 221 There are three possible layouts for splash screens, which is chosen ba sed on whether an
222 icon was auto-generated by Chrome and whether the icon is bigger than a threshold. --> 222 icon was auto-generated by Chrome and whether the icon is bigger than a threshold. -->
223 <dimen name="webapp_home_screen_icon_size">48dp</dimen> 223 <dimen name="webapp_home_screen_icon_size">48dp</dimen>
224 224
225 <dimen name="webapp_splash_offset">32dp</dimen> 225 <dimen name="webapp_splash_offset">32dp</dimen>
226 <dimen name="webapp_splash_image_size_ideal">128dp</dimen> 226 <dimen name="webapp_splash_image_size_ideal">128dp</dimen>
227 <dimen name="webapp_splash_image_size_threshold">80dp</dimen> 227 <dimen name="webapp_splash_image_size_threshold">80dp</dimen>
228 <dimen name="webapp_splash_image_size_minimum">48dp</dimen> 228 <!-- Matches InstallableManager::GetMinimumIconSizeInPx() -->
229 <dimen name="webapp_splash_image_size_minimum">144px</dimen>
dominickn 2017/04/06 05:30:26 This size is only used for splash screens. You hav
229 230
230 <dimen name="webapp_splash_small_image_size">80dp</dimen> 231 <dimen name="webapp_splash_small_image_size">80dp</dimen>
231 <dimen name="webapp_splash_small_title_margin_top">32dp</dimen> 232 <dimen name="webapp_splash_small_title_margin_top">32dp</dimen>
232 <dimen name="webapp_splash_large_title_margin_bottom">16dp</dimen> 233 <dimen name="webapp_splash_large_title_margin_bottom">16dp</dimen>
233 234
234 <dimen name="webapk_badge_icon_size">24dp</dimen> 235 <dimen name="webapk_badge_icon_size">24dp</dimen>
235 236
236 <!-- Toolbar dimensions --> 237 <!-- Toolbar dimensions -->
237 <dimen name="toolbar_tab_count_text_size_1_digit">12dp</dimen> 238 <dimen name="toolbar_tab_count_text_size_1_digit">12dp</dimen>
238 <dimen name="toolbar_tab_count_text_size_2_digit">10dp</dimen> 239 <dimen name="toolbar_tab_count_text_size_2_digit">10dp</dimen>
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 <dimen name="chrome_home_min_full_half_distance">160dp</dimen> 439 <dimen name="chrome_home_min_full_half_distance">160dp</dimen>
439 <dimen name="chrome_home_progress_bar_height">4dp</dimen> 440 <dimen name="chrome_home_progress_bar_height">4dp</dimen>
440 441
441 <!-- Miscellaneous dimensions --> 442 <!-- Miscellaneous dimensions -->
442 <dimen name="action_bar_shadow_height">10dp</dimen> 443 <dimen name="action_bar_shadow_height">10dp</dimen>
443 <dimen name="card_corner_radius">2dp</dimen> 444 <dimen name="card_corner_radius">2dp</dimen>
444 <dimen name="list_item_corner_radius">3dp</dimen> 445 <dimen name="list_item_corner_radius">3dp</dimen>
445 <dimen name="list_item_lateral_padding">1dp</dimen> 446 <dimen name="list_item_lateral_padding">1dp</dimen>
446 <dimen name="history_default_text_margin">16dp</dimen> 447 <dimen name="history_default_text_margin">16dp</dimen>
447 </resources> 448 </resources>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698