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_description">24sp</dimen>
     31     <dimen name="device_storage_usage_indicator_width">32dip</dimen>
     32     <dimen name="device_storage_usage_indicator_height">32dip</dimen>
     33     <dimen name="add_accessory_padding_start">50dp</dimen>
     34     <dimen name="bt_secure_pair_hint_start_margin">5dp</dimen>
     35     <dimen name="bt_secure_pair_hint_top_margin">3dp</dimen>
     36 
     37     <integer name="captioning_preview_default_font_size">48</integer>
     38 
     39     <dimen name="browse_item_title_font_size">16sp</dimen>
     40     <dimen name="browse_item_description_font_size">14sp</dimen>
     41 
     42     <integer name="lb_dialog_animation_duration">150</integer>
     43     <dimen name="lb_action_fragment_selector_min_height">8dp</dimen>
     44     <dimen name="lb_dialog_list_item_min_height">64dp</dimen>
     45     <dimen name="lb_dialog_list_item_min_height_small">48dp</dimen>
     46     <dimen name="lb_dialog_list_item_vertical_padding">12dp</dimen>
     47     <dimen name="lb_dialog_list_item_full_start_padding">32dp</dimen>
     48     <dimen name="lb_dialog_list_item_full_end_padding">56dp</dimen>
     49     <dimen name="lb_dialog_list_item_start_padding">20dp</dimen>
     50     <dimen name="lb_dialog_list_item_end_padding">28dp</dimen>
     51     <dimen name="lb_dialog_list_item_checkmark_diameter">8dp</dimen>
     52     <dimen name="lb_dialog_list_item_delimiter_padding">4dp</dimen>
     53     <integer name="lb_dialog_action_title_min_lines">1</integer>
     54     <dimen name="lb_dialog_list_item_title_font_size">18sp</dimen>
     55     <dimen name="lb_content_fragment_breadcrumb_text_size">18sp</dimen>
     56     <dimen name="lb_content_fragment_description_text_size">14sp</dimen>
     57     <dimen name="lb_action_section_width">384dp</dimen>
     58     <integer name="lb_dialog_fade_out_duration">200</integer>
     59     <dimen name="lb_dialog_list_item_icon_width">32dp</dimen>
     60     <dimen name="lb_dialog_list_item_icon_height">32dp</dimen>
     61     <integer name="lb_dialog_action_description_min_lines">2</integer>
     62     <dimen name="lb_dialog_list_item_description_font_size">12sp</dimen>
     63     <dimen name="lb_content_fragment_title_text_bottom_padding">4dp</dimen>
     64     <dimen name="lb_content_section_width">576dp</dimen>
     65     <dimen name="lb_content_fragment_start_padding">48dp</dimen>
     66     <dimen name="lb_content_fragment_delimiter_padding">16dp</dimen>
     67     <dimen name="lb_content_fragment_max_icon_height">280dp</dimen>
     68     <dimen name="lb_content_fragment_title_text_top_padding">2dp</dimen>
     69     <dimen name="lb_content_fragment_title_text_size">36sp</dimen>
     70     <dimen name="lb_content_fragment_icon_width">140dp</dimen>
     71 
     72     <!-- Width of the text in an action when an icon is present -->
     73     <dimen name="lb_action_text_width">248dp</dimen>
     74     <!-- Width of the text in an action when no icon is present -->
     75     <dimen name="lb_action_text_width_no_icon">284dp</dimen>
     76     <integer name="lb_dialog_action_title_max_lines">3</integer>
     77 
     78     <!-- UI contants for SettingsLayoutFragment -->
     79     <integer name="animate_in_duration">250</integer>
     80     <integer name="animate_delay">550</integer>
     81     <integer name="secondary_animate_delay">120</integer>
     82     <integer name="slide_in_stagger">100</integer>
     83     <integer name="slide_in_distance">120</integer>
     84 
     85     <!-- PIN dialog -->
     86     <dimen name="pin_number_picker_text_size">24sp</dimen>
     87     <dimen name="pin_number_picker_text_view_width">48dp</dimen>
     88     <dimen name="pin_number_picker_text_view_height">48dp</dimen>
     89     <dimen name="pin_number_picker_width">48dp</dimen>
     90     <dimen name="pin_number_picker_height">144dp</dimen>
     91     <dimen name="pin_dialog_width">312dp</dimen>
     92     <dimen name="pin_dialog_height">216dp</dimen>
     93     <dimen name="pin_dialog_horizontal_padding">24dp</dimen>
     94     <dimen name="pin_dialog_bottom_padding">24dp</dimen>
     95     <dimen name="pin_dialog_top_padding">17dp</dimen>
     96     <dimen name="pin_dialog_elevation">8dp</dimen>
     97     <dimen name="pin_dialog_title_width">216dp</dimen>
     98     <dimen name="pin_dialog_title_height">24dp</dimen>
     99     <dimen name="pin_dialog_title_bottom_margin">7dp</dimen>
    100     <dimen name="pin_dialog_pin_number_spacing">8dp</dimen>
    101     <dimen name="pin_dialog_pin_numbers_horizontal_padding">24dp</dimen>
    102     <dimen name="pin_dialog_pin_numbers_width">264dp</dimen>
    103     <dimen name="pin_dialog_pin_numbers_height">144dp</dimen>
    104     <dimen name="pin_dialog_title_text_size">20sp</dimen>
    105     <dimen name="pin_dialog_wrong_pin_text_size">14sp</dimen>
    106 
    107     <!-- Canvas UI dimensions -->
    108     <dimen name="account_content_text_bottom_margin">32dp</dimen>
    109     <dimen name="account_content_text_top_margin">13dp</dimen>
    110     <dimen name="action_fragment_selector_min_height">8dp</dimen>
    111 
    112     <dimen name="content_fragment_breadcrumb_text_size">18sp</dimen>
    113     <dimen name="content_fragment_default_icon_height">400dp</dimen>
    114     <dimen name="content_fragment_default_icon_width">400dp</dimen>
    115     <dimen name="content_fragment_delimiter_padding">16dp</dimen>
    116     <dimen name="content_fragment_description_text_size">14sp</dimen>
    117     <dimen name="content_fragment_icon_width">140dp</dimen>
    118     <dimen name="content_fragment_start_padding">48dp</dimen>
    119     <dimen name="content_fragment_max_icon_height">280dp</dimen>
    120     <dimen name="content_fragment_title_text_bottom_padding">4dp</dimen>
    121     <dimen name="content_fragment_title_text_size">36sp</dimen>
    122     <dimen name="content_fragment_title_text_top_padding">2dp</dimen>
    123 
    124     <dimen name="edit_text_width_default">300dp</dimen>
    125 
    126     <dimen name="list_item_checkmark_diameter">8dp</dimen>
    127     <dimen name="list_item_delimiter_padding">4dp</dimen>
    128     <dimen name="list_item_description_font_size">12sp</dimen>
    129     <dimen name="list_item_height">48dp</dimen>
    130     <dimen name="list_item_icon_size">32dp</dimen>
    131     <dimen name="list_item_icon_width">32dp</dimen>
    132     <dimen name="list_item_icon_height">32dp</dimen>
    133     <dimen name="list_item_start_padding">20dp</dimen>
    134     <dimen name="list_item_min_height">64dp</dimen>
    135     <dimen name="list_item_end_padding">28dp</dimen>
    136     <dimen name="list_item_title_font_size">18sp</dimen>
    137     <dimen name="list_item_vertical_padding">12dp</dimen>
    138 
    139     <dimen name="pad_start_unsafe_action">56dp</dimen>
    140     <dimen name="pad_start_unsafe_description">56dp</dimen>
    141     <dimen name="pad_end_unsafe_action">56dp</dimen>
    142 
    143     <dimen name="picker_column_height">192dp</dimen>
    144     <dimen name="picker_column_horizontal_padding">8dp</dimen>
    145     <dimen name="picker_item_height">64dp</dimen>
    146     <dimen name="picker_start_padding">24dp</dimen>
    147     <dimen name="picker_separator_horizontal_padding">4dp</dimen>
    148 
    149     <dimen name="width_action">256dp</dimen>
    150     <dimen name="width_description">536dp</dimen>
    151 
    152     <integer name="action_description_min_lines">2</integer>
    153     <integer name="action_title_min_lines">1</integer>
    154 
    155     <item name="alpha_animiation_max_opacity" format="float" type="dimen">1.0</item>
    156     <item name="alpha_animiation_min_opacity" format="float" type="dimen">0.0</item>
    157     <item name="alpha_activity_in_bkg_end" format="float" type="dimen">@dimen/alpha_animiation_max_opacity</item>
    158     <item name="alpha_activity_in_bkg_start" format="float" type="dimen">@dimen/alpha_animiation_min_opacity</item>
    159     <item name="alpha_activity_out_bkg_end" format="float" type="dimen">@dimen/alpha_animiation_min_opacity</item>
    160     <item name="alpha_activity_out_bkg_start" format="float" type="dimen">@dimen/alpha_animiation_max_opacity</item>
    161 
    162     <integer name="base_animation_duration">500</integer>
    163     <integer name="alpha_activity_in_bkg_delay">0</integer>
    164     <integer name="alpha_activity_in_bkg_duration">@integer/base_animation_duration</integer>
    165     <integer name="alpha_activity_out_bkg_delay">0</integer>
    166     <integer name="alpha_activity_out_bkg_duration">@integer/base_animation_duration</integer>
    167 
    168     <dimen name="progress_fragment_content_width">656dp</dimen>
    169 
    170     <dimen name="content_icon_inset">16dp</dimen>
    171 
    172     <dimen name="bt_progress_width_narrow">448dp</dimen>
    173 
    174     <dimen name="setup_action_margin_start">56dp</dimen>
    175 
    176     <dimen name="setup_elevation">2dp</dimen>
    177     <!-- must be higher than setup_elevation -->
    178     <dimen name="setup_elevation_higher">3dp</dimen>
    179     <dimen name="setup_background_radius">2dp</dimen>
    180 
    181     <item name="setup_title_line_spacing_multiplier" format="float" type="dimen">1.04296</item>
    182     <dimen name="setup_title_height">235dp</dimen>
    183 
    184     <dimen name="setup_description_margin_start">112dp</dimen>
    185     <dimen name="setup_description_width">448dp</dimen>
    186     <item name="setup_description_line_spacing_multiplier" format="float" type="dimen">1.70667</item>
    187     <dimen name="setup_description_margin_top">13dp</dimen>
    188     <dimen name="setup_description_text_size">12sp</dimen>
    189 
    190     <dimen name="setup_scroll_list_width">237dp</dimen>
    191     <item name="setup_scroll_list_window_offset_percent" format="float" type="dimen">68.05556</item>
    192 
    193     <dimen name="setup_action_vertical_offset">195dp</dimen>
    194     <dimen name="setup_action_vertical_offset_bottom">61dp</dimen>
    195 
    196     <dimen name="setup_list_item_icon_margin_end">16dp</dimen>
    197     <dimen name="setup_list_item_height">48dp</dimen>
    198     <dimen name="setup_list_item_padding">16dp</dimen>
    199     <dimen name="setup_list_item_container_shadow_padding">5dp</dimen>
    200     <dimen name="setup_list_item_text_size">14sp</dimen>
    201     <integer name="setup_list_item_pressed_fade_duration">100</integer>
    202 
    203     <dimen name="setup_obfuscation_margin_start">9dp</dimen>
    204     <dimen name="setup_obfuscation_margin_top">8dp</dimen>
    205 
    206     <dimen name="setup_slide_in_offset">28dp</dimen>
    207     <dimen name="setup_slide_out_offset">-28dp</dimen>
    208 
    209     <dimen name="activity_progress_top_margin">187dp</dimen>
    210     <dimen name="activity_progress_title_text_size">36sp</dimen>
    211     <item name="activity_progress_title_line_spacing" format="float" type="dimen">1.04296</item>
    212 
    213     <dimen name="setup_progress_spinner_size">40dp</dimen>
    214     <dimen name="setup_progress_spinner_margin_top">52dp</dimen>
    215 
    216 </resources>
    217