gecko-dev/mobile/android/base/resources/values/dimens.xml

94 lines
4.3 KiB
XML
Raw Normal View History

<?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_lock_width">20dp</dimen>
<dimen name="browser_toolbar_favicon_size">25.33dip</dimen>
Bug 871645 - Consolidate naming of URL bar variables and resources. r=lucasr * * * Bug 871645 - (Part 1) Rename "awesome" things "url" things in BrowserToolbar * * * Bug 871645 - (Part 2) Rename ic_awesomebar_* icon resources * * * Bug 871645 - (Part 3) Rename shouldDelayAwesomebarUpdate * * * Bug 871645 - (Part 4) Rename favicon dimensions that affect generic favicons * * * Bug 871645 - (Part 5) Rename awesome_* string entities * * * Bug 871645 - (Part 6) Rename color resources * * * Bug 871645 - (Part 7) Rename address_bar things * * * Bug 871645 - (Part 8) Rename addressBar things in BrowserToolbar * * * Bug 871645 - (Part 9) Rename AddressBar styles --HG-- rename : mobile/android/base/resources/color/awesome_bar_title.xml => mobile/android/base/resources/color/url_bar_title.xml rename : mobile/android/base/resources/color/awesome_bar_title_hint.xml => mobile/android/base/resources/color/url_bar_title_hint.xml rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_go.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_go.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_reader.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_reader.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_search.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_search.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_star.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_star.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_tab.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_tab.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_bg_shadow.png => mobile/android/base/resources/drawable-hdpi/url_bar_bg_shadow.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_default.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_default.9.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_default_pb.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_default_pb.9.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_pressed.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_pressed.9.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_pressed_pb.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_pressed_pb.9.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_go.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_go.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_reader.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_reader.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_search.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_search.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_star.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_star.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_tab.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_tab.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_bg_shadow.png => mobile/android/base/resources/drawable-mdpi/url_bar_bg_shadow.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_default.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_default.9.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_default_pb.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_default_pb.9.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_pressed.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_pressed.9.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_pressed_pb.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_pressed_pb.9.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_go.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_go.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_reader.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_reader.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_search.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_search.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_star.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_star.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_tab.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_tab.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_bg_shadow.png => mobile/android/base/resources/drawable-xhdpi/url_bar_bg_shadow.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_default.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_default.9.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_default_pb.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_default_pb.9.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_pressed.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_pressed.9.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_pressed_pb.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_pressed_pb.9.png rename : mobile/android/base/resources/drawable/address_bar_bg.xml => mobile/android/base/resources/drawable/url_bar_bg.xml rename : mobile/android/base/resources/drawable/address_bar_bg_shadow_repeat.xml => mobile/android/base/resources/drawable/url_bar_bg_shadow_repeat.xml rename : mobile/android/base/resources/drawable/address_bar_url.xml => mobile/android/base/resources/drawable/url_bar_entry.xml rename : mobile/android/base/resources/drawable/address_bar_nav_button.xml => mobile/android/base/resources/drawable/url_bar_nav_button.xml rename : mobile/android/base/resources/drawable/address_bar_right_edge.xml => mobile/android/base/resources/drawable/url_bar_right_edge.xml
2013-05-28 15:48:27 +00:00
<!-- 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>
<!-- Page Row height -->
<dimen name="page_row_height">64dp</dimen>
<!-- Search Engine Row height -->
<dimen name="search_row_height">48dp</dimen>
<!-- Max width of arrow popups on tablets -->
<dimen name="arrow_popup_width">400dp</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="doorhanger_textsize_small">8sp</dimen>
<dimen name="flow_layout_spacing">6dp</dimen>
<dimen name="menu_item_action_icon">80dp</dimen>
<dimen name="menu_item_icon">21dp</dimen>
<dimen name="menu_item_state_icon">18dp</dimen>
<dimen name="menu_item_row_height">44dp</dimen>
<dimen name="menu_item_row_width">240dp</dimen>
<dimen name="menu_popup_arrow_margin">5dip</dimen>
<dimen name="menu_popup_arrow_width">40dip</dimen>
<dimen name="menu_popup_offset">8dp</dimen>
<dimen name="menu_popup_width">256dp</dimen>
<dimen name="nav_button_border_width">0.75dp</dimen>
<dimen name="prompt_service_group_padding_size">32dp</dimen>
<dimen name="prompt_service_icon_size">72dp</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="prompt_service_min_list_item_height">48dp</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_button_width">100dp</dimen>
<dimen name="tabs_strip_button_padding">18dp</dimen>
<dimen name="tabs_tray_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="top_bookmark_pinsize">20dp</dimen>
<dimen name="validation_message_height">50dp</dimen>
<dimen name="validation_message_margin_top">6dp</dimen>
<dimen name="forward_default_offset">-13dip</dimen>
Bug 871645 - Consolidate naming of URL bar variables and resources. r=lucasr * * * Bug 871645 - (Part 1) Rename "awesome" things "url" things in BrowserToolbar * * * Bug 871645 - (Part 2) Rename ic_awesomebar_* icon resources * * * Bug 871645 - (Part 3) Rename shouldDelayAwesomebarUpdate * * * Bug 871645 - (Part 4) Rename favicon dimensions that affect generic favicons * * * Bug 871645 - (Part 5) Rename awesome_* string entities * * * Bug 871645 - (Part 6) Rename color resources * * * Bug 871645 - (Part 7) Rename address_bar things * * * Bug 871645 - (Part 8) Rename addressBar things in BrowserToolbar * * * Bug 871645 - (Part 9) Rename AddressBar styles --HG-- rename : mobile/android/base/resources/color/awesome_bar_title.xml => mobile/android/base/resources/color/url_bar_title.xml rename : mobile/android/base/resources/color/awesome_bar_title_hint.xml => mobile/android/base/resources/color/url_bar_title_hint.xml rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_go.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_go.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_reader.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_reader.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_search.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_search.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_star.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_star.png rename : mobile/android/base/resources/drawable-hdpi/ic_awesomebar_tab.png => mobile/android/base/resources/drawable-hdpi/ic_url_bar_tab.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_bg_shadow.png => mobile/android/base/resources/drawable-hdpi/url_bar_bg_shadow.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_default.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_default.9.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_default_pb.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_default_pb.9.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_pressed.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_pressed.9.png rename : mobile/android/base/resources/drawable-hdpi/address_bar_url_pressed_pb.9.png => mobile/android/base/resources/drawable-hdpi/url_bar_entry_pressed_pb.9.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_go.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_go.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_reader.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_reader.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_search.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_search.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_star.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_star.png rename : mobile/android/base/resources/drawable-mdpi/ic_awesomebar_tab.png => mobile/android/base/resources/drawable-mdpi/ic_url_bar_tab.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_bg_shadow.png => mobile/android/base/resources/drawable-mdpi/url_bar_bg_shadow.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_default.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_default.9.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_default_pb.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_default_pb.9.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_pressed.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_pressed.9.png rename : mobile/android/base/resources/drawable-mdpi/address_bar_url_pressed_pb.9.png => mobile/android/base/resources/drawable-mdpi/url_bar_entry_pressed_pb.9.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_go.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_go.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_reader.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_reader.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_search.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_search.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_star.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_star.png rename : mobile/android/base/resources/drawable-xhdpi/ic_awesomebar_tab.png => mobile/android/base/resources/drawable-xhdpi/ic_url_bar_tab.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_bg_shadow.png => mobile/android/base/resources/drawable-xhdpi/url_bar_bg_shadow.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_default.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_default.9.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_default_pb.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_default_pb.9.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_pressed.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_pressed.9.png rename : mobile/android/base/resources/drawable-xhdpi/address_bar_url_pressed_pb.9.png => mobile/android/base/resources/drawable-xhdpi/url_bar_entry_pressed_pb.9.png rename : mobile/android/base/resources/drawable/address_bar_bg.xml => mobile/android/base/resources/drawable/url_bar_bg.xml rename : mobile/android/base/resources/drawable/address_bar_bg_shadow_repeat.xml => mobile/android/base/resources/drawable/url_bar_bg_shadow_repeat.xml rename : mobile/android/base/resources/drawable/address_bar_url.xml => mobile/android/base/resources/drawable/url_bar_entry.xml rename : mobile/android/base/resources/drawable/address_bar_nav_button.xml => mobile/android/base/resources/drawable/url_bar_nav_button.xml rename : mobile/android/base/resources/drawable/address_bar_right_edge.xml => mobile/android/base/resources/drawable/url_bar_right_edge.xml
2013-05-28 15:48:27 +00:00
<dimen name="url_bar_offset_left">32dp</dimen>
<dimen name="toast_button_padding">8dp</dimen>
<dimen name="history_tab_indicator_height">50dp</dimen>
<!-- We need to maintain height for the tab widget on History Page
since android does not add footer/header divider height to its
calculation for wrap_content in LinearLayout.
50dp * 3 Views + 30dp padding + 4dp dividers-->
<dimen name="history_tab_widget_height">184dp</dimen>
<!-- PageActionButtons dimensions -->
<dimen name="page_action_button_width">32dp</dimen>
<!-- Banner -->
<dimen name="home_banner_height">72dp</dimen>
</resources>