<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<resources>

    <dimen name="autocomplete_min_width">200dp</dimen>
    <dimen name="autocomplete_row_height">32dp</dimen>

    <dimen name="browser_toolbar_height">48dp</dimen>
    <dimen name="browser_toolbar_button_padding">12dp</dimen>
    <dimen name="browser_toolbar_icon_width">48dp</dimen>
    <dimen name="browser_toolbar_site_security_width">12dp</dimen>
    <!-- favicon_size includes 4dp of right padding. We can't use margin (which would allow us to
         specify the actual size) because that would decrease the size of our hit target. -->
    <dimen name="browser_toolbar_favicon_size">21.33dip</dimen>
    <dimen name="browser_toolbar_shadow_size">2dp</dimen>

    <!-- If you update one of these values, update the others. -->
    <dimen name="new_tablet_nav_button_width">42dp</dimen>
    <dimen name="new_tablet_nav_button_width_half">21dp</dimen>
    <dimen name="new_tablet_nav_button_width_plus_half">63dp</dimen>

    <dimen name="new_tablet_tab_strip_height">48dp</dimen>
    <dimen name="new_tablet_tab_strip_item_width">208dp</dimen>
    <dimen name="new_tablet_tab_strip_item_margin">-28dp</dimen>
    <dimen name="new_tablet_tab_strip_favicon_size">16dp</dimen>
    <dimen name="new_tablet_tab_strip_fading_edge_size">15dp</dimen>
    <dimen name="new_tablet_site_security_height">60dp</dimen>
    <dimen name="new_tablet_site_security_width">34dp</dimen>
    <!-- We primarily use padding (instead of margins) to increase the hit area. -->
    <dimen name="new_tablet_site_security_padding_vertical">21dp</dimen>
    <dimen name="new_tablet_site_security_padding_horizontal">8dp</dimen>
    <dimen name="new_tablet_site_security_right_margin">1dp</dimen>
    <dimen name="new_tablet_browser_toolbar_height">60dp</dimen>
    <dimen name="new_tablet_browser_toolbar_menu_right_margin">6dp</dimen>
    <dimen name="new_tablet_browser_toolbar_menu_item_width">56dp</dimen>
    <!-- Padding combines with an 18dp image to form the menu item width and height. -->
    <dimen name="new_tablet_browser_toolbar_menu_item_padding_horizontal">19dp</dimen>
    <dimen name="new_tablet_browser_toolbar_menu_item_inset_vertical">5dp</dimen>
    <dimen name="new_tablet_browser_toolbar_menu_item_inset_horizontal">3dp</dimen>
    <dimen name="new_tablet_browser_toolbar_menu_item_corner_radius">5dp</dimen>
    <dimen name="new_tablet_tab_strip_button_inset">5dp</dimen>
    <dimen name="new_tablet_private_tabs_panel_empty_width">300dp</dimen>
    <dimen name="forward_default_offset">-13dip</dimen>

    <!-- Dimensions used by Favicons and FaviconView -->
    <dimen name="favicon_size_small">16dp</dimen>
    <dimen name="favicon_size_large">32dp</dimen>
    <dimen name="favicon_bg">32dp</dimen>
    <dimen name="favicon_bg_radius">1dp</dimen>
    <!-- Set the upper limit on the size of favicon that will be processed. Favicons larger than
         this will be downscaled to this value. If you need to use larger Favicons (Due to a UI
         redesign sometime after this is written) you should increase this value to the largest
         commonly-used size of favicon and, performance permitting, fetch the remainder from the
         database. The largest available size is always stored in the database, regardless of this
         value.-->
    <dimen name="favicon_largest_interesting_size">32dp</dimen>

    <!-- Site security icon -->
    <!-- If one of these values changes, they all should. -->
    <dimen name="site_security_bottom_margin">.5dp</dimen>
    <dimen name="new_tablet_site_security_unknown_inset_top">1dp</dimen>
    <dimen name="new_tablet_site_security_unknown_inset_bottom">-1dp</dimen>

    <!-- Regular page row on about:home -->
    <dimen name="page_row_height">64dp</dimen>

    <!-- Group/heading page row on about:home -->
    <dimen name="page_group_height">56dp</dimen>

    <!-- Reading list row on about:home -->
    <dimen name="reading_list_row_height">128dp</dimen>
    <dimen name="reading_list_row_padding_left">15dp</dimen>
    <dimen name="reading_list_row_padding_right">10dp</dimen>

    <!-- Remote Tabs static view top padding. Less in landscape on phones. -->
    <dimen name="home_remote_tabs_top_padding">48dp</dimen>

    <!-- Remote Tabs Hidden devices row height -->
    <dimen name="home_remote_tabs_hidden_footer_height">40dp</dimen>

    <!-- Search Engine Row height -->
    <dimen name="search_row_height">48dp</dimen>

    <!-- Padding at the top of the site identity popup, when no identity data is available. -->
    <dimen name="identity_padding_top">5dp</dimen>

    <dimen name="doorhanger_input_width">250dp</dimen>
    <dimen name="doorhanger_spinner_textsize">9sp</dimen>
    <dimen name="doorhanger_padding">15dp</dimen>

    <dimen name="flow_layout_spacing">6dp</dimen>
    <dimen name="menu_item_icon">21dp</dimen>
    <dimen name="menu_item_textsize">16sp</dimen>
    <dimen name="menu_item_state_icon">18dp</dimen>
    <!-- This is chosen to match Android's listPreferredItemHeight.
         TODO: We should inherit these from the system.
         http://androidxref.com/4.2.2_r1/xref/frameworks/base/core/res/res/values/themes.xml#123 -->
    <dimen name="menu_item_row_height">64dip</dimen>
    <dimen name="menu_item_row_width">240dp</dimen>
    <dimen name="menu_item_more_offset">5dp</dimen>
    <dimen name="menu_popup_offset">12dp</dimen>
    <dimen name="menu_popup_width">256dp</dimen>
    <dimen name="nav_button_border_width">1dp</dimen>
    <dimen name="prompt_service_group_padding_size">32dp</dimen>
    <dimen name="prompt_service_icon_size">36dp</dimen>
    <dimen name="prompt_service_icon_text_padding">10dp</dimen>
    <dimen name="prompt_service_inputs_padding">16dp</dimen>
    <dimen name="prompt_service_left_right_text_with_icon_padding">10dp</dimen>
    <dimen name="prompt_service_top_bottom_text_with_icon_padding">8dp</dimen>
    <dimen name="remote_tab_child_row_height">64dp</dimen>
    <dimen name="remote_tab_group_row_height">26dp</dimen>
    <dimen name="searchpreferences_icon_size">32dp</dimen>
    <dimen name="tab_thumbnail_height">90dp</dimen>
    <dimen name="tab_thumbnail_width">160dp</dimen>
    <dimen name="tabs_counter_size">22sp</dimen>
    <dimen name="tabs_panel_indicator_width">60dp</dimen>
    <dimen name="tabs_panel_list_padding">16dip</dimen>
    <dimen name="tabs_list_divider_height">2dp</dimen>
    <dimen name="tabs_sidebar_width">200dp</dimen>
    <dimen name="tabs_strip_height">40dp</dimen>
    <dimen name="tabs_strip_button_width">100dp</dimen>
    <dimen name="tabs_strip_button_padding">18dp</dimen>
    <dimen name="tabs_strip_shadow_size">1dp</dimen>
    <dimen name="tabs_layout_horizontal_height">156dp</dimen>
    <dimen name="text_selection_handle_width">47dp</dimen>
    <dimen name="text_selection_handle_height">58dp</dimen>
    <dimen name="text_selection_handle_shadow">11dp</dimen>
    <dimen name="validation_message_height">50dp</dimen>
    <dimen name="validation_message_margin_top">6dp</dimen>
    <dimen name="url_bar_offset_left">32dp</dimen>
    <dimen name="history_tab_indicator_height">50dp</dimen>


    <dimen name="new_tablet_tab_thumbnail_width">168dp</dimen>
    <dimen name="new_tablet_tab_thumbnail_height">140dp</dimen>
    <dimen name="new_tablet_tab_panel_column_width">178dp</dimen>
    <dimen name="new_tablet_tab_panel_grid_padding">19dp</dimen>
    <dimen name="new_tablet_tab_panel_grid_vspacing">21dp</dimen>
    <dimen name="new_tablet_tab_panel_grid_padding_top">24dp</dimen>

    <dimen name="new_tablet_tab_highlight_stroke_width">5dp</dimen>

    <!-- PageActionButtons dimensions -->
    <dimen name="page_action_button_width">32dp</dimen>

    <!-- Banner -->
    <dimen name="home_banner_height">72dp</dimen>
    <dimen name="home_banner_close_width">42dp</dimen>
    <dimen name="home_banner_icon_height">48dip</dimen>
    <dimen name="home_banner_icon_width">48dip</dimen>

    <!-- Icon Grid -->
    <dimen name="icongrid_columnwidth">128dp</dimen>
    <dimen name="icongrid_padding">16dp</dimen>

    <!-- PanelGridView dimensions -->
    <dimen name="panel_grid_view_column_width">150dp</dimen>

    <!-- TabsGridView dimensions -->
    <dimen name="tabs_grid_view_column_width">200dp</dimen>

    <!-- PanelItemView dimensions -->
    <dimen name="panel_article_item_height">95dp</dimen>

    <!-- Button toast dimenstions. -->
    <dimen name="toast_button_corner_radius">2dp</dimen>

    <!-- ArrowPopup dimensions. -->
    <dimen name="arrow_popup_arrow_width">40dip</dimen>
    <dimen name="arrow_popup_arrow_height">12dip</dimen>
    <dimen name="arrow_popup_arrow_offset">8dp</dimen>

    <!-- TabHistoryItemRow dimensions. -->
    <dimen name="tab_history_timeline_width">3dp</dimen>
    <dimen name="tab_history_timeline_height">14dp</dimen>
    <dimen name="tab_history_favicon_bg">32dp</dimen>
    <dimen name="tab_history_favicon_padding">5dp</dimen>
    <dimen name="tab_history_favicon_border_enabled">3dp</dimen>
    <dimen name="tab_history_favicon_border_disabled">1dp</dimen>
    <dimen name="tab_history_combo_margin_left">15dp</dimen>
    <dimen name="tab_history_combo_margin_right">15dp</dimen>
    <dimen name="tab_history_title_fading_width">50dp</dimen>
    <dimen name="tab_history_title_margin_right">15dp</dimen>
    <dimen name="tab_history_title_text_size">14sp</dimen>
    <dimen name="tab_history_bg_width">2dp</dimen>
    <dimen name="tab_history_border_padding">2dp</dimen>

    <!-- Find-In-Page dialog dimensions. -->
    <dimen name="find_in_page_text_margin_left">5dip</dimen>
    <dimen name="find_in_page_text_margin_right">12dip</dimen>
    <dimen name="find_in_page_text_padding_left">10dip</dimen>
    <dimen name="find_in_page_text_padding_right">10dip</dimen>
    <dimen name="find_in_page_status_margin_right">10dip</dimen>
    <dimen name="find_in_page_matchcase_padding">10dip</dimen>
    <dimen name="find_in_page_control_margin_top">2dip</dimen>

</resources>
