Source code

Revision control

Copy as Markdown

Other Tools

<?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 xmlns:tools="http://schemas.android.com/tools">
<dimen name="menu_elevation">8dp</dimen>
<dimen name="tab_sheet_end_margin">40dp</dimen>
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<item name="match_parent" type="dimen">-1</item>
<!-- We specifically want match_parent here. If we set -1, the build breaks since integers aren't allowed.
If we set -1dp, the UI breaks (i.e. we don't get match_parent). For some reason adding another
redirection via an existing attribute works... -->
<dimen name="firstrun_container_width">@dimen/match_parent</dimen>
<!-- The custom tabs spec defines a maximum close button size, we need to define this here to enforce that sizing. -->
<dimen name="customtabs_toolbar_icon_size">24dp</dimen>
<!-- We are using a NavigationView in our context menu and it adds padding that we do not want. -->
<dimen name="design_navigation_padding_top_default" tools:override="true">0dp</dimen>
<dimen name="design_navigation_separator_vertical_padding" tools:override="true">0dp</dimen>
<dimen name="design_navigation_padding_bottom" tools:override="true">0dp</dimen>
<dimen name="firstrun_card_width">300dp</dimen>
<dimen name="firstrun_card_height">460dp</dimen>
<dimen name="fingerprint_icon_size">64dp</dimen>
<dimen name="fingerprint_status_layout_margin_vertical">48dp</dimen>
<dimen name="tabs_button_text_size">12dp</dimen>
<dimen name="adaptive_icon_drawable_dimen">108dp</dimen> <!-- Specified in AdaptiveIconDrawable docs. -->
<dimen name="dialogHorizontalPadding">24dp</dimen>
<dimen name="dialog_min_width_major">65%</dimen>
<dimen name="dialog_min_width_minor">75%</dimen>
<dimen name="preference_root_layout_padding">16dp</dimen>
<dimen name="preference_icon_drawable_size">24dp</dimen>
<dimen name="preference_drawable_padding">32dp</dimen>
<dimen name="preference_padding_top">8dp</dimen>
<dimen name="preference_padding_horizontal">16dp</dimen>
<dimen name="preference_padding_vertical">12dp</dimen>
<dimen name="preference_row_height">48dp</dimen>
<dimen name="textinputlayout_spacing">8dp</dimen>
<dimen name="urlinput_height">57dp</dimen>
<dimen name="doorhanger_width">300dp</dimen>
<dimen name="doorhanger_input_width">250dp</dimen>
<dimen name="doorhanger_offsetX">12dp</dimen>
<dimen name="doorhanger_offsetY">67dp</dimen>
<dimen name="doorhanger_drawable_padding">5dp</dimen>
<dimen name="doorhanger_subsection_padding">8dp</dimen>
<dimen name="doorhanger_section_padding_small">10dp</dimen>
<dimen name="doorhanger_section_padding_medium">20dp</dimen>
<dimen name="doorhanger_section_padding_large">30dp</dimen>
<dimen name="doorhanger_icon_size">60dp</dimen>
<dimen name="doorhanger_rounded_corner_radius">4dp</dimen>
<dimen name="doorhanger_small_icon">16dp</dimen>
<dimen name="browser_menu_height">280dp</dimen>
<dimen name="menu_blocking_switch_container_height">88dp</dimen>
<dimen name="menu_blocking_switch_height">20dp</dimen>
<dimen name="menu_blocking_switch_width">46dp</dimen>
<dimen name="menu_blocking_switch_margin">12dp</dimen>
<dimen name="search_suggestions_padding_start">56dp</dimen>
<dimen name="search_suggestions_padding_with_icon">16dp</dimen>
<dimen name="browser_toolbar_height">56dp</dimen>
<!-- Override the default menu width values from AC. -->
<dimen name="mozac_browser_menu_width_min" tools:ignore="UnusedResources">112dp</dimen>
<dimen name="mozac_browser_menu_width_max" tools:ignore="UnusedResources">314dp</dimen>
<!-- Preferences. -->
<dimen name="radio_button_preference_height">48dp</dimen>
<dimen name="radio_button_preference_width">48dp</dimen>
<dimen name="radio_button_preference_start_margin">18dp</dimen>
<dimen name="radio_button_preference_title_margins">16dp</dimen>
<!-- DisplayToolbar -->
<dimen name="mozac_browser_toolbar_background_margin_end" tools:ignore="UnusedResources">8dp</dimen>
<!-- Default values for Material Bottom sheet. -->
<dimen name="tablet_bottom_sheet_width">@dimen/match_parent</dimen>
<dimen name="tablet_bottom_sheet_peekheight">64dp</dimen>
</resources>