<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- TabSwitcher - The space between tabs in the toolbar swiping transition. -->
<dimen name="toolbar_swipe_space_between_tabs">30dp</dimen>
<!-- TabSwitcher - The minimum distance from the edge to commit a toolbar side swap. -->
<dimen name="toolbar_swipe_commit_distance">90dp</dimen>
<!-- Tab title -->
<dimen name="border_texture_title_fade">24dp</dimen> <!-- 40px hdpi -->
<dimen name="tab_title_favicon_start_padding">10dp</dimen>
<dimen name="tab_title_favicon_end_padding">7dp</dimen>
<!-- Infobar dimensions -->
<!-- Text size of descriptive controls on an infobar. -->
<dimen name="infobar_descriptive_text_size">14sp</dimen>
<!-- Dimensions for compact translate infobar. -->
<dimen name="infobar_translate_fade_edge_length">18dp</dimen>
<!-- Overlay Panel dimensions -->
<dimen name="overlay_panel_end_buttons_width">94dp</dimen>
<dimen name="overlay_panel_padded_button_width">41dp</dimen>
<dimen name="overlay_panel_text_layer_min_height">38dp</dimen>
<dimen name="overlay_panel_button_padding">12dp</dimen>
<dimen name="overlay_panel_caption_spacing">1.5dp</dimen>
<!-- Contextual Search dimensions -->
<dimen name="contextual_search_bar_image_size">36dp</dimen>
<dimen name="contextual_search_minimum_base_page_height">600dp</dimen>
<dimen name="contextual_search_text_layer_min_height">
@dimen/overlay_panel_text_layer_min_height
</dimen>
<dimen name="contextual_search_term_caption_spacing">
@dimen/overlay_panel_caption_spacing
</dimen>
<dimen name="contextual_search_padded_button_width">
@dimen/overlay_panel_padded_button_width
</dimen>
<!-- This is in sp because we want the chip width to scale with the font it holds. -->
<dimen name="contextual_search_chip_max_width">115sp</dimen>
<dimen name="contextual_search_chip_list_chip_spacing">4dp</dimen>
<dimen name="contextual_search_chip_list_side_padding">16dp</dimen>
<!-- Padding at the end of the Bar. -->
<dimen name="contextual_search_end_padding">7dp</dimen>
<!-- Padding amount that should be removed between the Related Searches chips carousel
in the Bar and the content above it due to overlapping whitespace margins. This
effectively removes the whitespace from the top of the chips carousel because there's
already plenty of whitespace above provided by the existing Bar content.-->
<dimen name="related_searches_in_bar_redundant_padding">@dimen/chip_bg_vertical_inset</dimen>
<!-- Overlay panel dimensions -->
<dimen name="overlay_panel_bar_height">70dp</dimen>
<!-- Preview tab dimensions -->
<dimen name="preview_tab_favicon_size">24dp</dimen>
<!-- Sheet tab toolbar dimensions -->
<dimen name="sheet_tab_toolbar_height">70dp</dimen>
<!-- Autofill address prompt dimensions -->
<dimen name="address_prompt_end_margin">16dp</dimen>
<dimen name="address_prompt_edit_button_size">48dp</dimen>
<dimen name="address_prompt_edit_button_padding">12dp</dimen>
<!-- Autofill keyboard accessory dimensions -->
<dimen name="keyboard_accessory_height_with_shadow">56dp</dimen>
<dimen name="keyboard_accessory_sheet_height">330dp</dimen>
<!-- Password entry editor dimensions -->
<dimen name="password_entry_editor_content_spacing">12dp</dimen>
<dimen name="password_entry_editor_field_bottom_margin">8dp</dimen>
<dimen name="password_entry_editor_field_large_top_margin">16dp</dimen>
<dimen name="password_entry_editor_field_top_margin">8dp</dimen>
<!-- Password generation popup dimensions -->
<dimen name="password_generation_text_size">14sp</dimen>
<dimen name="password_generation_horizontal_margin">10dp</dimen>
<dimen name="password_generation_text_vertical_margin">12dp</dimen>
<!-- Password manager illustration dialogs -->
<dimen name="password_manager_dialog_padding">8dp</dimen>
<dimen name="password_manager_dialog_illustration_height">156dp</dimen>
<dimen name="password_manager_dialog_illustration_margin">8dp</dimen>
<dimen name="password_manager_dialog_min_vertical_space_to_show_illustration">350dp</dimen>
<dimen name="password_manager_dialog_text_horizontal_padding">16dp</dimen>
<dimen name="password_manager_dialog_title_padding_top">16dp</dimen>
<dimen name="password_manager_dialog_text_margin">24dp</dimen>
<dimen name="password_manager_dialog_title_compact_margin">16dp</dimen>
<dimen name="password_manager_dialog_details_padding_bottom">8dp</dimen>
<dimen name="password_manager_dialog_details_padding_top">12dp</dimen>
<!-- The size of the text for tab titles. -->
<dimen name="compositor_tab_title_text_size">13sp</dimen>
<!-- The size of the bounding box for favicons. -->
<dimen name="compositor_tab_title_favicon_size">16dp</dimen>
<!-- Slop value for allowing slight misses on the compositor button. -->
<dimen name="compositor_button_slop">10dp</dimen>
<!-- First Run Experience dimensions -->
<dimen name="fre_tos_image_height">110dp</dimen>
<dimen name="fre_loading_spinner_size">48dp</dimen>
<dimen name="fre_policy_privacy_disclaimer_icon_size">18dp</dimen>
<dimen name="fre_policy_privacy_disclaimer_icon_padding">8dp</dimen>
<!-- Account Signin dimensions -->
<!-- The Account Signin page appears in the First Run Experience (amongst other places), so uses
a lot of the fre_* dimensions for consistency. -->
<dimen name="signin_chooser_padding">16dp</dimen>
<dimen name="signin_screen_top_padding">50dp</dimen>
<!-- ModalDialogView dimensions -->
<dimen name="tab_modal_scrim_vertical_margin">16dp</dimen>
<!-- Should match toolbar_height_no_shadow -->
<dimen name="control_container_height">@dimen/default_action_bar_height</dimen>
<dimen name="custom_tabs_control_container_height">@dimen/default_action_bar_height</dimen>
<!-- Find in Page dimensions -->
<dimen name="find_in_page_popup_width">375dp</dimen>
<dimen name="find_in_page_popup_height">60dp</dimen>
<dimen name="find_in_page_popup_margin_end">62dp</dimen>
<!-- NTP dimensions -->
<dimen name="tile_layout_no_logo_top_margin">20dp</dimen>
<dimen name="mvt_container_lateral_margin">@dimen/signin_promo_lateral_paddings</dimen>
<dimen name="mvt_container_top_padding">17dp</dimen>
<dimen name="mvt_container_bottom_padding">22dp</dimen>
<dimen name="mvt_container_top_margin">23dp</dimen>
<dimen name="ntp_search_box_bottom_margin">1dp</dimen>
<dimen name="ntp_search_box_transition_start_offset">16dp</dimen>
<dimen name="ntp_search_box_transition_end_offset">4dp</dimen>
<dimen name="ntp_search_box_lateral_margin_tablet">100dp</dimen>
<dimen name="snippets_article_header_height">40dp</dimen>
<dimen name="content_suggestions_card_bottom_margin">12dp</dimen>
<!-- This is in sp because we want the icon to scale with the TextView it sits alongside. -->
<dimen name="md_incognito_ntp_line_spacing">6sp</dimen>
<dimen name="md_incognito_ntp_padding_left">16dp</dimen>
<!-- NTP Feed dimensions -->
<dimen name="feed_header_menu_max_width">225dp</dimen>
<dimen name="feed_header_icon_margin">16dp</dimen>
<dimen name="feed_header_icon_size">20dp</dimen>
<dimen name="feed_header_tab_layout_height">40dp</dimen>
<dimen name="feed_header_tab_list_view_top_bottom_margin">8dp</dimen>
<!-- Incognito NTP -->
<dimen name="incognito_ntp_total_space_between_views">14sp</dimen>
<!-- Recent tabs page -->
<dimen name="recent_tabs_visible_separator_padding">8dp</dimen>
<dimen name="recent_tabs_group_view_vertical_padding">8dp</dimen>
<dimen name="recent_tabs_list_item_side_padding">16dp</dimen>
<dimen name="recent_tabs_show_history_item_size">60dp</dimen>
<dimen name="recent_tabs_foreign_session_group_item_height">64dp</dimen>
<dimen name="recent_tabs_default_group_item_height">48dp</dimen>
<dimen name="recent_tabs_count_text_size">10dp</dimen>
<!-- Bookmarks dimensions -->
<dimen name="bookmark_minimum_dialog_size_tablet">500dp</dimen>
<dimen name="bookmark_dialog_toolbar_shadow_height">4dp</dimen>
<dimen name="bookmark_reading_list_section_header_padding_top">15dp</dimen>
<dimen name="improved_bookmark_favicon_text_size">18dp</dimen>
<!-- Improved bookmark row properties. -->
<!-- The size of the start image for compact rows. -->
<dimen name="improved_bookmark_start_image_size_compact">48dp</dimen>
<!-- The size of the start image for visual rows. -->
<dimen name="improved_bookmark_start_image_size_visual">80dp</dimen>
<dimen name="improved_bookmark_icon_radius">24dp</dimen>
<dimen name="add_new_folder_dialog_horizontal_margin">24dp</dimen>
<dimen name="bookmark_folder_picker_button_container_top_padding">10dp</dimen>
<dimen name="bookmark_folder_picker_button_container_bottom_padding">16dp</dimen>
<dimen name="improved_bookmark_row_horizontal_margin">10dp</dimen>
<dimen name="improved_bookmark_row_horizontal_padding">6dp</dimen>
<dimen name="improved_bookmark_row_horizontal_negative_margin">-10dp</dimen>
<dimen name="improved_bookmark_row_vertical_margin">1dp</dimen>
<dimen name="bookmark_promo_top_margin_with_search_box">4dp</dimen>
<dimen name="shopping_chip_padding">8dp</dimen>
<!-- Improved bookmark save flow properties-->
<dimen name="improved_bookmark_save_flow_outer_radius">8dp</dimen>
<dimen name="improved_bookmark_save_flow_inner_radius">4dp</dimen>
<dimen name="improved_bookmark_save_flow_image_size">75dp</dimen>
<!-- Bookmark widget dimensions -->
<dimen name="bookmark_widget_min_width">64dp</dimen>
<dimen name="bookmark_widget_min_height">48dp</dimen>
<!-- Custom Tabs dimensions -->
<dimen name="custom_tabs_drag_handle_padding_top">12dp</dimen>
<dimen name="custom_tabs_drag_handle_padding_bottom">32dp</dimen>
<dimen name="custom_tabs_drag_handle_padding_side">4dp</dimen>
<dimen name="custom_tabs_toolbar_maxWidth">60dp</dimen>
<dimen name="custom_tabs_toolbar_vertical_padding">16dp</dimen>
<dimen name="custom_tabs_toolbar_horizontal_margin_no_start">8dp</dimen>
<dimen name="min_toolbar_icon_side_padding">6dp</dimen>
<dimen name="custom_tabs_url_text_size">12sp</dimen>
<dimen name="custom_tabs_title_text_size">16sp</dimen>
<dimen name="custom_tabs_bottom_bar_max_height">120dp</dimen>
<dimen name="custom_tabs_handle_height">16dp</dimen>
<dimen name="custom_tabs_elevation">8dp</dimen>
<dimen name="custom_tabs_shadow_offset">4dp</dimen>
<dimen name="custom_tabs_outline_width">1dp</dimen>
<dimen name="custom_tabs_default_corner_radius">16dp</dimen>
<dimen name="custom_tabs_menu_footer_icon_size">16sp</dimen>
<dimen name="custom_tabs_menu_footer_margin_horizontal">8dp</dimen>
<dimen name="custom_tabs_menu_footer_margin_vertical">12dp</dimen>
<dimen name="custom_tabs_toast_branding_icon_size">28dp</dimen>
<dimen name="custom_tabs_toast_branding_height">50dp</dimen>
<dimen name="custom_tabs_toast_branding_padding">16dp</dimen>
<!-- Search in CCT specific dimensions for presenting interactable Omnibox -->
<dimen name="custom_tabs_location_bar_active_height">40dp</dimen>
<dimen name="custom_tabs_url_bar_active_height">48dp</dimen>
<dimen name="custom_tabs_url_bar_bg_horizontal_padding">4dp</dimen>
<!-- Account chooser dialog dimensions -->
<dimen name="account_chooser_dialog_margin">24dp</dimen>
<dimen name="account_chooser_dialog_item_margin">24dp</dimen>
<!-- Public Suffix List (PSL) info button and tooltip dimensions -->
<dimen name="psl_info_tooltip_margin">8dp</dimen>
<!-- Clear browsing data preferences dimensions -->
<dimen name="clear_browsing_data_button_margin">16dp</dimen>
<dimen name="pref_languages_add_button_padding">24dp</dimen>
<dimen name="pref_languages_item_popup_width">260dp</dimen>
<!-- Drag-Reorderable List dimensions -->
<dimen name="draggable_list_item_padding">16dp</dimen>
<!-- Dialog dimensions.
https://www.google.com/design/spec/components/dialogs.html#dialogs-simple-dialogs -->
<dimen name="dialog_width_unit">56dp</dimen> <!-- MD dialog widths are multiples of this. -->
<!-- Used as a margin to force the shadow view to overlap other views. -->
<dimen name="action_bar_shadow_margin_negative">-10dp</dimen>
<dimen name="legacy_sync_promo_view_padding">16dp</dimen>
<!-- 18dp padding is added to each side of the remove button to limit the image width to 20dp (56dp - 2 * 18dp). -->
<dimen name="history_item_remove_button_lateral_padding">18dp</dimen>
<dimen name="history_item_leading_padding">2dp</dimen>
<!-- Context Menu Dimensions -->
<!-- Prevent the chip from reaching the edges of the screen for long translations. -->
<dimen name="context_menu_chip_max_width">338dp</dimen>
<dimen name="context_menu_chip_vertical_margin">24dp</dimen>
<!-- The chip touch target is 48dp. This reduces the chip size by 8dp to get to the desired
40dp height (24dp for content + 4dp of padding at the top and bottom. -->
<dimen name="context_menu_chip_vertical_inset">4dp</dimen>
<dimen name="context_menu_chip_icon_size">24dp</dimen>
<dimen name="context_menu_popup_header_image_max_size">36dp</dimen>
<dimen name="context_menu_popup_header_monogram_size">16dp</dimen>
<!-- History Navigation UI Item -->
<dimen name="navigation_bubble_size">44dp</dimen>
<dimen name="navigation_bubble_arrow_size">32dp</dimen>
<dimen name="navigation_bubble_start_padding">2dp</dimen>
<dimen name="navigation_bubble_top_padding">4dp</dimen>
<dimen name="navigation_bubble_bottom_padding">4dp</dimen>
<dimen name="navigation_bubble_text_top_padding">3dp</dimen>
<dimen name="navigation_bubble_text_bottom_padding">5dp</dimen>
<dimen name="navigation_bubble_text_start_padding">2dp</dimen>
<dimen name="navigation_bubble_text_end_padding">8dp</dimen>
<dimen name="navigation_sheet_content_top_padding">18dp</dimen>
<dimen name="navigation_sheet_content_bottom_padding">4dp</dimen>
<dimen name="navigation_sheet_peek_height">120dp</dimen>
<!-- RadioButtonWithDescriptionLayout dimensions -->
<dimen name="radio_button_accessory_view_padding_start">60dp</dimen>
<dimen name="radio_button_accessory_view_padding_end">16dp</dimen>
<!-- Appearance Settings dimensions -->
<dimen name="theme_preferences_checkbox_margin_end">8dp</dimen>
<dimen name="homepage_preference_title_lateral_padding">16dp</dimen>
<dimen name="homepage_preference_title_vertical_padding">10dp</dimen>
<!-- Dimens of tab indicator -->
<dimen name="tab_indicator_height">3dp</dimen>
<dimen name="tab_indicator_radius">3dp</dimen>
<dimen name="tab_indicator_padding">2dp</dimen>
<!-- Status indicator dimensions -->
<dimen name="status_indicator_min_height">21dp</dimen>
<dimen name="status_indicator_icon_padding">8dp</dimen>
<dimen name="status_indicator_icon_size">12dp</dimen>
<!-- Overflow Menu Dimensions -->
<dimen name="overflow_menu_divider_line_padding">5dp</dimen>
<dimen name="overflow_menu_update_min_height">40sp</dimen>
<dimen name="overflow_menu_update_padding">12dp</dimen>
<!-- Settings dimensions -->
<dimen name="settings_wide_display_min_padding">16dp</dimen>
<!-- Sharing Hub dimensions -->
<dimen name="sharing_hub_preview_icon_padding">12dp</dimen>
<dimen name="sharing_hub_preview_icon_rounded_corner_radius">4dp</dimen>
<dimen name="sharing_hub_preview_icon_size">48dp</dimen>
<dimen name="sharing_hub_preview_inner_icon_size">24dp</dimen>
<dimen name="sharing_hub_3p_icon_size">36dp</dimen>
<dimen name="sharing_hub_3p_icon_padding_top">20dp</dimen>
<!-- Long Screenshots dimensions -->
<dimen name="long_screenshots_button_size">40dp</dimen>
<dimen name="long_screenshots_button_padding">8dp</dimen>
<dimen name="long_screenshots_button_margin">17dp</dimen>
<!-- IPH shared highlighting builder padding top -->
<dimen name="iph_shared_highlighting_padding_top">120dp</dimen>
<dimen name="sharing_hub_tile_width">69sp</dimen>
<dimen name="sharing_hub_tile_margin">8sp</dimen>
<!-- Distilled page pref dimensions -->
<dimen name="distilled_page_pref_background_elev">@dimen/default_elevation_0</dimen>
<!-- Virtual card enrollment dialog -->
<dimen name="virtual_card_enrollment_dialog_padding">24dp</dimen>
<dimen name="virtual_card_enrollment_dialog_title_margin_top">24dp</dimen>
<dimen name="virtual_card_enrollment_dialog_card_container_padding">12dp</dimen>
<dimen name="virtual_card_enrollment_dialog_card_container_issuer_icon_margin_end">12dp</dimen>
<dimen name="virtual_card_enrollment_dialog_description_margin_top">16dp</dimen>
<dimen name="virtual_card_enrollment_dialog_google_legal_message_margin_top">20dp</dimen>
<dimen name="virtual_card_enrollment_dialog_google_issuer_message_margin_top">8dp</dimen>
<!-- Price Drop dimensions -->
<dimen name="price_drop_spotted_iph_ntp_tabswitcher_y_inset">4dp</dimen>
<!-- Improved bookmark row folder dimensions. -->
<dimen name="improved_bookmark_row_outer_corner_radius">16dp</dimen>
<dimen name="improved_bookmark_row_inner_corner_radius">4dp</dimen>
<dimen name="improved_bookmark_row_size">80dp</dimen>
<dimen name="improved_bookmark_row_secondary_outer_size">41dp</dimen>
<dimen name="improved_bookmark_row_secondary_inner_size">39dp</dimen>
<dimen name="improved_bookmark_row_secondary_inner_half_size">19.5dp</dimen>
<!-- Autofill "save card" bottom sheet dimensions. -->
<dimen name="autofill_bottom_sheet_credit_card_height">24dp</dimen>
<dimen name="autofill_bottom_sheet_credit_card_spacing">16dp</dimen>
<dimen name="autofill_bottom_sheet_credit_card_width">40dp</dimen>
<dimen name="autofill_bottom_sheet_loading_view_bottom_margin">64dp</dimen>
<dimen name="autofill_bottom_sheet_logo_height">32dp</dimen>
<!-- Autofill "virtual card number enrollment" bottom sheet dimensions. -->
<dimen name="autofill_bottom_sheet_drag_handlebar_height">4dp</dimen>
<dimen name="autofill_bottom_sheet_drag_handlebar_width">32dp</dimen>
<dimen name="autofill_bottom_sheet_illustration_min_height">93dp</dimen>
<dimen name="autofill_bottom_sheet_logo_min_height">32dp</dimen>
<dimen name="autofill_bottom_sheet_spacing_large">22dp</dimen>
<dimen name="autofill_bottom_sheet_spacing_small">12dp</dimen>
<!-- Autofill "save IBAN" bottom sheet dimensions. -->
<dimen name="autofill_bottom_sheet_iban_text_input_top_margin">20dp</dimen>
<!-- Common autofill bottom sheet dimensions. -->
<dimen name="autofill_bottom_sheet_chip_top_margin">22dp</dimen>
<dimen name="autofill_bottom_sheet_confirm_button_top_margin">22dp</dimen>
<dimen name="autofill_bottom_sheet_drag_handlebar_spacing_top">8dp</dimen>
<dimen name="autofill_bottom_sheet_padding_horizontal">24dp</dimen>
<dimen name="autofill_bottom_sheet_spacing_extra_small">8dp</dimen>
<dimen name="autofill_bottom_sheet_spacing_medium">16dp</dimen>
<dimen name="autofill_bottom_sheet_title_top_margin">24dp</dimen>
<!-- Autofill dialog dimensions. -->
<dimen name="autofill_dialog_progress_bar_size">36dp</dimen>
<!-- tab strip context menu-->
<dimen name="tab_strip_group_context_menu_max_width">392dp</dimen>
</resources>