Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2014 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
     17 
     18     <dimen name="icon_padding">12dp</dimen>
     19 
     20     <dimen name="browse_item_height">168dp</dimen>
     21     <dimen name="browse_item_width">168dp</dimen>
     22     <dimen name="browse_item_icon_height">112dp</dimen>
     23     <dimen name="browse_item_icon_width">112dp</dimen>
     24     <dimen name="browse_item_text_marginHor">12dp</dimen>
     25     <!-- 12dp below text - 3dp of font padding = 9dp -->
     26     <dimen name="browse_item_description_marginBottom">9dp</dimen>
     27     <!-- 20dp between lines + 12dp below text - 3dp of font padding = 29dp -->
     28     <dimen name="browse_item_title_marginBottom">29dp</dimen>
     29 
     30     <dimen name="text_size_heading">48sp</dimen>
     31     <dimen name="text_size_heading2">36sp</dimen>
     32     <dimen name="text_size_description">24sp</dimen>
     33     <dimen name="text_size_hint">20sp</dimen>
     34     <dimen name="text_size_scroll_list_unfocused">20sp</dimen>
     35     <dimen name="text_size_scroll_list_focused">24sp</dimen>
     36     <dimen name="text_size_scroll_list_header_focused">14sp</dimen>
     37     <dimen name="width_wifi_network_list">400dp</dimen>
     38     <dimen name="padding_wifi_network_list">40dp</dimen>
     39     <dimen name="width_remote_enable_list">800dp</dimen>
     40     <dimen name="padding_remote_enable_list">40dp</dimen>
     41     <dimen name="text_padding_vertical">6dp</dimen>
     42     <dimen name="remote_settings_pane_padding">50dp</dimen>
     43     <dimen name="progress_bar_horizontal_padding">64dp</dimen>
     44     <dimen name="progress_bar_vertical_padding">32dp</dimen>
     45     <dimen name="progress_bar_horizontal_width">120dp</dimen>
     46     <dimen name="content_fragment_caption_text_size">20sp</dimen>
     47     <dimen name="content_fragment_text_padding">20dip</dimen>
     48     <dimen name="content_fragment_text_size">30sp</dimen>
     49     <dimen name="app_info_size">260dp</dimen>
     50     <dimen name="app_icon_size">240dp</dimen>
     51     <dimen name="app_icon_size_minus_margin">190dp</dimen>
     52     <dimen name="settings_list_text_padding_vertical">1dp</dimen>
     53     <dimen name="settings_list_app_padding">10dp</dimen>
     54     <dimen name="settings_list_app_contents_padding">10dp</dimen>
     55     <dimen name="settings_list_padding_vertical">120dp</dimen>
     56     <dimen name="settings_list_fade_length">30dp</dimen>
     57     <dimen name="app_management_content_select_padding">10dp</dimen>
     58     <dimen name="app_icon_margin_start">50dp</dimen>
     59     <dimen name="app_icon_margin_end">40dp</dimen>
     60     <dimen name="app_icon_list_margin_bottom">10dp</dimen>
     61     <dimen name="network_list_height">192dp</dimen>
     62     <dimen name="network_list_width">128dp</dimen>
     63     <dimen name="network_list_margin">24dp</dimen>
     64     <dimen name="storage_bar_min_tick_width">3dp</dimen>
     65     <dimen name="device_storage_usage_indicator_width">32dip</dimen>
     66     <dimen name="device_storage_usage_indicator_height">32dip</dimen>
     67     <dimen name="action_min_height">80dp</dimen>
     68     <dimen name="add_accessory_padding_start">50dp</dimen>
     69     <dimen name="bt_secure_pair_hint_start_margin">5dp</dimen>
     70     <dimen name="bt_secure_pair_hint_top_margin">3dp</dimen>
     71 
     72     <integer name="captioning_preview_default_font_size">48</integer>
     73 
     74     <dimen name="list_header_height">36dp</dimen>
     75 
     76     <!-- scale animation factor (larger value gets shorter duration) -->
     77     <item name="browse_scale_anim_factor" format="float" type="string">1.4</item>
     78     <item name="browse_item_unfocused_satuation" type="dimen">70%</item>
     79     <item name="browse_item_unfocused_alpha" type="dimen">100%</item>
     80     <item name="legacy_app_item_unfocused_alpha" type="dimen">70%</item>
     81 
     82     <dimen name="browse_item_title_font_size">16sp</dimen>
     83     <dimen name="browse_item_title_font_size_small">12sp</dimen>
     84     <dimen name="browse_item_description_font_size">14sp</dimen>
     85     <dimen name="browse_item_bottom_padding">12dp</dimen>
     86 
     87     <integer name="lb_dialog_animation_duration">150</integer>
     88     <dimen name="lb_action_fragment_selector_min_height">8dp</dimen>
     89     <dimen name="lb_dialog_list_item_min_height">64dp</dimen>
     90     <dimen name="lb_dialog_list_item_vertical_padding">12dp</dimen>
     91     <dimen name="lb_dialog_list_item_start_padding">20dp</dimen>
     92     <dimen name="lb_dialog_list_item_end_padding">28dp</dimen>
     93     <dimen name="lb_dialog_list_item_checkmark_diameter">8dp</dimen>
     94     <dimen name="lb_dialog_list_item_delimiter_padding">4dp</dimen>
     95     <integer name="lb_dialog_action_title_min_lines">1</integer>
     96     <dimen name="lb_dialog_list_item_title_font_size">18sp</dimen>
     97     <dimen name="lb_content_fragment_breadcrumb_text_size">18sp</dimen>
     98     <dimen name="lb_content_fragment_description_text_size">14sp</dimen>
     99     <dimen name="lb_action_section_width">384dp</dimen>
    100     <integer name="lb_dialog_fade_out_duration">200</integer>
    101     <dimen name="lb_dialog_list_item_icon_width">32dp</dimen>
    102     <dimen name="lb_dialog_list_item_icon_height">32dp</dimen>
    103     <integer name="lb_dialog_action_description_min_lines">2</integer>
    104     <dimen name="lb_dialog_list_item_description_font_size">12sp</dimen>
    105     <dimen name="lb_content_fragment_title_text_bottom_padding">4dp</dimen>
    106     <dimen name="lb_content_section_width">576dp</dimen>
    107     <dimen name="lb_content_fragment_start_padding">48dp</dimen>
    108     <dimen name="lb_content_fragment_delimiter_padding">16dp</dimen>
    109     <dimen name="lb_content_fragment_max_icon_height">280dp</dimen>
    110     <dimen name="lb_content_fragment_title_text_top_padding">2dp</dimen>
    111     <dimen name="lb_content_fragment_title_text_size">36sp</dimen>
    112     <dimen name="lb_content_fragment_icon_width">140dp</dimen>
    113 
    114     <!-- Width of the text in an action when an icon is present -->
    115     <dimen name="lb_action_text_width">248dp</dimen>
    116     <!-- Width of the text in an action when no icon is present -->
    117     <dimen name="lb_action_text_width_no_icon">284dp</dimen>
    118     <integer name="lb_dialog_action_title_max_lines">3</integer>
    119 
    120     <!-- UI contants for SettingsLayoutFragment -->
    121     <integer name="animate_in_duration">250</integer>
    122     <integer name="animate_delay">550</integer>
    123     <integer name="secondary_animate_delay">120</integer>
    124     <integer name="slide_in_stagger">100</integer>
    125     <integer name="slide_in_distance">120</integer>
    126 
    127     <!-- PIN dialog -->
    128     <dimen name="pin_number_picker_text_size">24sp</dimen>
    129     <dimen name="pin_number_picker_text_view_width">48dp</dimen>
    130     <dimen name="pin_number_picker_text_view_height">48dp</dimen>
    131     <dimen name="pin_number_picker_width">48dp</dimen>
    132     <dimen name="pin_number_picker_height">144dp</dimen>
    133     <dimen name="pin_dialog_width">312dp</dimen>
    134     <dimen name="pin_dialog_height">216dp</dimen>
    135     <dimen name="pin_dialog_horizontal_padding">24dp</dimen>
    136     <dimen name="pin_dialog_bottom_padding">24dp</dimen>
    137     <dimen name="pin_dialog_top_padding">17dp</dimen>
    138     <dimen name="pin_dialog_elevation">8dp</dimen>
    139     <dimen name="pin_dialog_title_width">216dp</dimen>
    140     <dimen name="pin_dialog_title_height">24dp</dimen>
    141     <dimen name="pin_dialog_title_bottom_margin">7dp</dimen>
    142     <dimen name="pin_dialog_pin_number_spacing">8dp</dimen>
    143     <dimen name="pin_dialog_pin_numbers_horizontal_padding">24dp</dimen>
    144     <dimen name="pin_dialog_pin_numbers_width">264dp</dimen>
    145     <dimen name="pin_dialog_pin_numbers_height">144dp</dimen>
    146     <dimen name="pin_dialog_title_text_size">20sp</dimen>
    147     <dimen name="pin_dialog_wrong_pin_text_size">14sp</dimen>
    148 
    149     <!-- Canvas UI dimensions -->
    150     <dimen name="account_content_text_bottom_margin">32dp</dimen>
    151     <dimen name="account_content_text_top_margin">13dp</dimen>
    152     <dimen name="action_fragment_selector_min_height">8dp</dimen>
    153 
    154     <dimen name="content_fragment_breadcrumb_text_size">18sp</dimen>
    155     <dimen name="content_fragment_default_icon_height">400dp</dimen>
    156     <dimen name="content_fragment_default_icon_width">400dp</dimen>
    157     <dimen name="content_fragment_delimiter_padding">16dp</dimen>
    158     <dimen name="content_fragment_description_text_size">14sp</dimen>
    159     <dimen name="content_fragment_icon_width">140dp</dimen>
    160     <dimen name="content_fragment_icon_height">140dp</dimen>
    161     <dimen name="content_fragment_badge_icon_width">48dp</dimen>
    162     <dimen name="content_fragment_badge_icon_height">48dp</dimen>
    163     <dimen name="content_fragment_start_padding">48dp</dimen>
    164     <dimen name="content_fragment_max_icon_height">280dp</dimen>
    165     <dimen name="content_fragment_title_text_bottom_padding">4dp</dimen>
    166     <dimen name="content_fragment_title_text_size">36sp</dimen>
    167     <dimen name="content_fragment_title_text_top_padding">2dp</dimen>
    168 
    169     <dimen name="edit_text_width_default">300dp</dimen>
    170     <dimen name="edit_text_width_small">200dp</dimen>
    171     <dimen name="indeterminate_bottom_padding">4dp</dimen>
    172 
    173     <dimen name="list_item_badge_icon_height">18dp</dimen>
    174     <dimen name="list_item_badge_icon_margin_start">8dp</dimen>
    175     <dimen name="list_item_badge_icon_width">18dp</dimen>
    176     <dimen name="list_item_checkmark_diameter">8dp</dimen>
    177     <dimen name="list_item_delimiter_padding">4dp</dimen>
    178     <dimen name="list_item_description_font_size">12sp</dimen>
    179     <dimen name="list_item_height">48dp</dimen>
    180     <dimen name="list_item_icon_big_height">80dp</dimen>
    181     <dimen name="list_item_icon_big_margin_end">8dp</dimen>
    182     <dimen name="list_item_icon_big_width">80dp</dimen>
    183     <dimen name="list_item_icon_height">32dp</dimen>
    184     <dimen name="list_item_icon_size">32dp</dimen>
    185     <dimen name="list_item_icon_small_height">24dp</dimen>
    186     <dimen name="list_item_icon_small_width">24dp</dimen>
    187     <dimen name="list_item_icon_width">32dp</dimen>
    188     <dimen name="list_item_start_padding">20dp</dimen>
    189     <dimen name="list_item_min_height">64dp</dimen>
    190     <dimen name="list_item_end_padding">28dp</dimen>
    191     <dimen name="list_item_timestamp_font_size">12sp</dimen>
    192     <dimen name="list_item_title_font_size">18sp</dimen>
    193     <dimen name="list_item_vertical_padding">12dp</dimen>
    194 
    195     <dimen name="pad_start_unsafe_action">56dp</dimen>
    196     <dimen name="pad_start_unsafe_description">56dp</dimen>
    197     <dimen name="pad_end_unsafe_action">56dp</dimen>
    198     <dimen name="pad_top_unsafe_progress">32dp</dimen>
    199 
    200     <dimen name="picker_column_height">192dp</dimen>
    201     <dimen name="picker_column_horizontal_padding">8dp</dimen>
    202     <dimen name="picker_item_height">64dp</dimen>
    203     <dimen name="picker_start_padding">24dp</dimen>
    204     <dimen name="picker_separator_horizontal_padding">4dp</dimen>
    205 
    206     <dimen name="setup_activity_overscan_margin">48dp</dimen>
    207     <dimen name="setup_scroll_list_top_padding">0dp</dimen>
    208     <dimen name="setup_list_item_icon_margin_end">8dp</dimen>
    209     <dimen name="setup_title_height">285dp</dimen>
    210     <dimen name="tos_webview_padding_without_progress_bar">40dp</dimen>
    211     <dimen name="tos_webview_padding_with_progress_bar">80dp</dimen>
    212     <dimen name="width_action">256dp</dimen>
    213     <dimen name="width_description">536dp</dimen>
    214     <dimen name="width_setup_max">872dp</dimen>
    215 
    216     <integer name="action_description_min_lines">2</integer>
    217     <integer name="action_title_min_lines">1</integer>
    218     <integer name="indeterminate_frame_duration">30</integer>
    219 
    220     <item name="alpha_animiation_max_opacity" format="float" type="dimen">1.0</item>
    221     <item name="alpha_animiation_min_opacity" format="float" type="dimen">0.0</item>
    222     <item name="alpha_activity_in_bkg_end" format="float" type="dimen">@dimen/alpha_animiation_max_opacity</item>
    223     <item name="alpha_activity_in_bkg_start" format="float" type="dimen">@dimen/alpha_animiation_min_opacity</item>
    224     <item name="alpha_activity_out_bkg_end" format="float" type="dimen">@dimen/alpha_animiation_min_opacity</item>
    225     <item name="alpha_activity_out_bkg_start" format="float" type="dimen">@dimen/alpha_animiation_max_opacity</item>
    226 
    227     <integer name="base_animation_duration">500</integer>
    228     <integer name="alpha_activity_in_bkg_delay">0</integer>
    229     <integer name="alpha_activity_in_bkg_duration">@integer/base_animation_duration</integer>
    230     <integer name="alpha_activity_out_bkg_delay">0</integer>
    231     <integer name="alpha_activity_out_bkg_duration">@integer/base_animation_duration</integer>
    232 </resources>
    233