Xml文件  |  198行  |  10.38 KB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

    <dimen name="icon_padding">12dp</dimen>

    <dimen name="browse_item_height">168dp</dimen>
    <dimen name="browse_item_width">168dp</dimen>
    <dimen name="browse_item_icon_height">112dp</dimen>
    <dimen name="browse_item_icon_width">112dp</dimen>
    <dimen name="browse_item_text_marginHor">12dp</dimen>
    <!-- 12dp below text - 3dp of font padding = 9dp -->
    <dimen name="browse_item_description_marginBottom">9dp</dimen>
    <!-- 20dp between lines + 12dp below text - 3dp of font padding = 29dp -->
    <dimen name="browse_item_title_marginBottom">29dp</dimen>

    <dimen name="text_size_heading">48sp</dimen>
    <dimen name="text_size_heading2">36sp</dimen>
    <dimen name="text_size_description">24sp</dimen>
    <dimen name="text_size_hint">20sp</dimen>
    <dimen name="text_size_scroll_list_unfocused">20sp</dimen>
    <dimen name="text_size_scroll_list_focused">24sp</dimen>
    <dimen name="text_size_scroll_list_header_focused">14sp</dimen>
    <dimen name="text_padding_vertical">6dp</dimen>
    <dimen name="remote_settings_pane_padding">50dp</dimen>
    <dimen name="progress_bar_horizontal_padding">64dp</dimen>
    <dimen name="progress_bar_vertical_padding">32dp</dimen>
    <dimen name="app_icon_size">240dp</dimen>
    <dimen name="app_icon_size_minus_margin">190dp</dimen>
    <dimen name="settings_list_text_padding_vertical">1dp</dimen>
    <dimen name="settings_list_padding_vertical">120dp</dimen>
    <dimen name="app_icon_margin_start">50dp</dimen>
    <dimen name="app_icon_margin_end">40dp</dimen>
    <dimen name="app_icon_list_margin_bottom">10dp</dimen>
    <dimen name="storage_bar_min_tick_width">3dp</dimen>
    <dimen name="device_storage_usage_indicator_width">32dip</dimen>
    <dimen name="device_storage_usage_indicator_height">32dip</dimen>
    <dimen name="add_accessory_padding_start">50dp</dimen>
    <dimen name="bt_secure_pair_hint_start_margin">5dp</dimen>
    <dimen name="bt_secure_pair_hint_top_margin">3dp</dimen>

    <integer name="captioning_preview_default_font_size">48</integer>

    <dimen name="browse_item_title_font_size">16sp</dimen>
    <dimen name="browse_item_title_font_size_small">12sp</dimen>
    <dimen name="browse_item_description_font_size">14sp</dimen>

    <integer name="lb_dialog_animation_duration">150</integer>
    <dimen name="lb_action_fragment_selector_min_height">8dp</dimen>
    <dimen name="lb_dialog_list_item_min_height">64dp</dimen>
    <dimen name="lb_dialog_list_item_min_height_small">48dp</dimen>
    <dimen name="lb_dialog_list_item_vertical_padding">12dp</dimen>
    <dimen name="lb_dialog_list_item_full_start_padding">32dp</dimen>
    <dimen name="lb_dialog_list_item_full_end_padding">56dp</dimen>
    <dimen name="lb_dialog_list_item_start_padding">20dp</dimen>
    <dimen name="lb_dialog_list_item_end_padding">28dp</dimen>
    <dimen name="lb_dialog_list_item_checkmark_diameter">8dp</dimen>
    <dimen name="lb_dialog_list_item_delimiter_padding">4dp</dimen>
    <integer name="lb_dialog_action_title_min_lines">1</integer>
    <dimen name="lb_dialog_list_item_title_font_size">18sp</dimen>
    <dimen name="lb_content_fragment_breadcrumb_text_size">18sp</dimen>
    <dimen name="lb_content_fragment_description_text_size">14sp</dimen>
    <dimen name="lb_action_section_width">384dp</dimen>
    <integer name="lb_dialog_fade_out_duration">200</integer>
    <dimen name="lb_dialog_list_item_icon_width">32dp</dimen>
    <dimen name="lb_dialog_list_item_icon_height">32dp</dimen>
    <integer name="lb_dialog_action_description_min_lines">2</integer>
    <dimen name="lb_dialog_list_item_description_font_size">12sp</dimen>
    <dimen name="lb_content_fragment_title_text_bottom_padding">4dp</dimen>
    <dimen name="lb_content_section_width">576dp</dimen>
    <dimen name="lb_content_fragment_start_padding">48dp</dimen>
    <dimen name="lb_content_fragment_delimiter_padding">16dp</dimen>
    <dimen name="lb_content_fragment_max_icon_height">280dp</dimen>
    <dimen name="lb_content_fragment_title_text_top_padding">2dp</dimen>
    <dimen name="lb_content_fragment_title_text_size">36sp</dimen>
    <dimen name="lb_content_fragment_icon_width">140dp</dimen>

    <!-- Width of the text in an action when an icon is present -->
    <dimen name="lb_action_text_width">248dp</dimen>
    <!-- Width of the text in an action when no icon is present -->
    <dimen name="lb_action_text_width_no_icon">284dp</dimen>
    <integer name="lb_dialog_action_title_max_lines">3</integer>

    <!-- UI contants for SettingsLayoutFragment -->
    <integer name="animate_in_duration">250</integer>
    <integer name="animate_delay">550</integer>
    <integer name="secondary_animate_delay">120</integer>
    <integer name="slide_in_stagger">100</integer>
    <integer name="slide_in_distance">120</integer>

    <!-- PIN dialog -->
    <dimen name="pin_number_picker_text_size">24sp</dimen>
    <dimen name="pin_number_picker_text_view_width">48dp</dimen>
    <dimen name="pin_number_picker_text_view_height">48dp</dimen>
    <dimen name="pin_number_picker_width">48dp</dimen>
    <dimen name="pin_number_picker_height">144dp</dimen>
    <dimen name="pin_dialog_width">312dp</dimen>
    <dimen name="pin_dialog_height">216dp</dimen>
    <dimen name="pin_dialog_horizontal_padding">24dp</dimen>
    <dimen name="pin_dialog_bottom_padding">24dp</dimen>
    <dimen name="pin_dialog_top_padding">17dp</dimen>
    <dimen name="pin_dialog_elevation">8dp</dimen>
    <dimen name="pin_dialog_title_width">216dp</dimen>
    <dimen name="pin_dialog_title_height">24dp</dimen>
    <dimen name="pin_dialog_title_bottom_margin">7dp</dimen>
    <dimen name="pin_dialog_pin_number_spacing">8dp</dimen>
    <dimen name="pin_dialog_pin_numbers_horizontal_padding">24dp</dimen>
    <dimen name="pin_dialog_pin_numbers_width">264dp</dimen>
    <dimen name="pin_dialog_pin_numbers_height">144dp</dimen>
    <dimen name="pin_dialog_title_text_size">20sp</dimen>
    <dimen name="pin_dialog_wrong_pin_text_size">14sp</dimen>

    <!-- Canvas UI dimensions -->
    <dimen name="account_content_text_bottom_margin">32dp</dimen>
    <dimen name="account_content_text_top_margin">13dp</dimen>
    <dimen name="action_fragment_selector_min_height">8dp</dimen>

    <dimen name="content_fragment_breadcrumb_text_size">18sp</dimen>
    <dimen name="content_fragment_default_icon_height">400dp</dimen>
    <dimen name="content_fragment_default_icon_width">400dp</dimen>
    <dimen name="content_fragment_delimiter_padding">16dp</dimen>
    <dimen name="content_fragment_description_text_size">14sp</dimen>
    <dimen name="content_fragment_icon_width">140dp</dimen>
    <dimen name="content_fragment_start_padding">48dp</dimen>
    <dimen name="content_fragment_max_icon_height">280dp</dimen>
    <dimen name="content_fragment_title_text_bottom_padding">4dp</dimen>
    <dimen name="content_fragment_title_text_size">36sp</dimen>
    <dimen name="content_fragment_title_text_top_padding">2dp</dimen>

    <dimen name="edit_text_width_default">300dp</dimen>
    <dimen name="edit_text_width_small">200dp</dimen>
    <dimen name="indeterminate_bottom_padding">4dp</dimen>

    <dimen name="list_item_checkmark_diameter">8dp</dimen>
    <dimen name="list_item_delimiter_padding">4dp</dimen>
    <dimen name="list_item_description_font_size">12sp</dimen>
    <dimen name="list_item_height">48dp</dimen>
    <dimen name="list_item_icon_height">32dp</dimen>
    <dimen name="list_item_icon_size">32dp</dimen>
    <dimen name="list_item_icon_width">32dp</dimen>
    <dimen name="list_item_start_padding">20dp</dimen>
    <dimen name="list_item_min_height">64dp</dimen>
    <dimen name="list_item_end_padding">28dp</dimen>
    <dimen name="list_item_timestamp_font_size">12sp</dimen>
    <dimen name="list_item_title_font_size">18sp</dimen>
    <dimen name="list_item_vertical_padding">12dp</dimen>

    <dimen name="pad_start_unsafe_action">56dp</dimen>
    <dimen name="pad_start_unsafe_description">56dp</dimen>
    <dimen name="pad_end_unsafe_action">56dp</dimen>

    <dimen name="picker_column_height">192dp</dimen>
    <dimen name="picker_column_horizontal_padding">8dp</dimen>
    <dimen name="picker_item_height">64dp</dimen>
    <dimen name="picker_start_padding">24dp</dimen>
    <dimen name="picker_separator_horizontal_padding">4dp</dimen>

    <dimen name="setup_scroll_list_top_padding">0dp</dimen>
    <dimen name="setup_list_item_icon_margin_end">8dp</dimen>
    <dimen name="setup_title_height">285dp</dimen>
    <dimen name="width_action">256dp</dimen>
    <dimen name="width_description">536dp</dimen>

    <integer name="action_description_min_lines">2</integer>
    <integer name="action_title_min_lines">1</integer>
    <integer name="indeterminate_frame_duration">30</integer>

    <item name="alpha_animiation_max_opacity" format="float" type="dimen">1.0</item>
    <item name="alpha_animiation_min_opacity" format="float" type="dimen">0.0</item>
    <item name="alpha_activity_in_bkg_end" format="float" type="dimen">@dimen/alpha_animiation_max_opacity</item>
    <item name="alpha_activity_in_bkg_start" format="float" type="dimen">@dimen/alpha_animiation_min_opacity</item>
    <item name="alpha_activity_out_bkg_end" format="float" type="dimen">@dimen/alpha_animiation_min_opacity</item>
    <item name="alpha_activity_out_bkg_start" format="float" type="dimen">@dimen/alpha_animiation_max_opacity</item>

    <integer name="base_animation_duration">500</integer>
    <integer name="alpha_activity_in_bkg_delay">0</integer>
    <integer name="alpha_activity_in_bkg_duration">@integer/base_animation_duration</integer>
    <integer name="alpha_activity_out_bkg_delay">0</integer>
    <integer name="alpha_activity_out_bkg_duration">@integer/base_animation_duration</integer>

    <dimen name="progress_fragment_side_margin">212dp</dimen>

    <dimen name="content_icon_inset">16dp</dimen>
</resources>