Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2015 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>
     17     <!-- Permission -->
     18     <dimen name="missing_permission_icon_size">208dp</dimen>
     19 
     20     <dimen name="car_app_layout_icon_width">42dp</dimen>
     21     <dimen name="car_app_layout_search_box_small_width">320dp</dimen>
     22     <dimen name="car_app_layout_search_box_small_margin">16dp</dimen>
     23 
     24     <dimen name="car_headline0_size">50sp</dimen>
     25     <dimen name="car_headline1_size">45sp</dimen>
     26     <dimen name="car_headline2_size">36sp</dimen>
     27     <dimen name="car_title_size">26sp</dimen>
     28     <dimen name="car_body1_size">32sp</dimen>
     29     <dimen name="car_body2_size">26sp</dimen>
     30     <dimen name="car_caption_size">18sp</dimen>
     31     <dimen name="car_key1_size">40sp</dimen>
     32     <dimen name="car_key2_size">18sp</dimen>
     33     <dimen name="car_micro_size">20sp</dimen>
     34 
     35     <dimen name="car_action_bar_icon_padding">10dp</dimen>
     36     <dimen name="car_action_bar_margin">15dp</dimen>
     37 
     38     <dimen name="car_drawer_header_height">96dp</dimen>
     39     <dimen name="car_drawer_header_menu_button_size">96dp</dimen>
     40     <dimen name="car_drawer_standard_width">704dp</dimen>
     41     <dimen name="car_drawer_max_width">884dp</dimen>
     42     <dimen name="car_drawer_item_max_width">788dp</dimen>
     43 
     44     <dimen name="car_list_item_height">88dp</dimen>
     45     <dimen name="car_list_item_height_small">64dp</dimen>
     46     <!-- Sample row height used for scroll bar calculations in the off chance that a view hasn't
     47          been measured. It's highly unlikely that this value will actually be used for more than
     48          a frame max. The sample row is a 96dp card + 16dp margin on either side. -->
     49     <dimen name="car_sample_row_height">128dp</dimen>
     50     <!-- The amount of space the LayoutManager will make sure the last item on the screen is
     51          peeking before scrolling down -->
     52     <dimen name="car_last_card_peek_amount">16dp</dimen>
     53     <dimen name="car_paged_list_view_pagination_width">48dp</dimen>
     54     <dimen name="car_paged_list_view_button_background_inset">24dp</dimen>
     55     <dimen name="car_paged_list_view_scrollbar_thumb_margin">8dp</dimen>
     56 
     57     <dimen name="scroll_button_size">48dp</dimen>
     58     <dimen name="scroll_bar_thumb_width">12dp</dimen>
     59 
     60     <!-- height of list dividers -->
     61     <dimen name="car_divider_height">1dp</dimen>
     62 
     63     <dimen name="car_list_item_icon_size">64dp</dimen>
     64     <dimen name="car_list_item_icon_right_margin">32dp</dimen>
     65     <dimen name="car_list_item_icon_size_small">32dp</dimen>
     66     <dimen name="car_list_item_small_icon_size">56dp</dimen>
     67     <dimen name="car_list_item_right_icon_margin">20dp</dimen>
     68     <dimen name="car_list_item_right_icon_size">56dp</dimen>
     69     <dimen name="car_list_unavailable_category_item_height">108dp</dimen>
     70     <dimen name="car_list_truncated_list_card_height">108dp</dimen>
     71     <dimen name="car_list_truncated_list_card_elevation">8dp</dimen>
     72     <dimen name="car_list_truncated_list_icon_size">56dp</dimen>
     73     <dimen name="car_list_truncated_list_icon_padding">22dp</dimen>
     74     <dimen name="car_list_truncated_list_drawable_padding">48dp</dimen>
     75     <dimen name="car_list_truncated_list_padding">10dp</dimen>
     76     <dimen name="car_text_vertical_margin">2dp</dimen>
     77     <dimen name="car_card_bottom_margin">8dp</dimen>
     78 
     79     <dimen name="car_touch_feedback_radius">32dp</dimen>
     80     <dimen name="car_card_view_corner_radius">2dp</dimen>
     81     <dimen name="car_card_view_elevation">8dp</dimen>
     82     <dimen name="car_fab_focused_stroke_width">8dp</dimen>
     83     <dimen name="car_fab_focused_growth">1.2dp</dimen>
     84     <!-- The minimum the scrollbar thumb can shrink to -->
     85     <dimen name="min_thumb_height">48dp</dimen>
     86     <!-- The maximum the scrollbar thumb can grow to -->
     87     <dimen name="max_thumb_height">128dp</dimen>
     88 
     89     <dimen name="car_standard_width">800dp</dimen>
     90     <dimen name="car_card_max_width">768dp</dimen>
     91     <dimen name="car_card_margin">96dp</dimen>
     92     <dimen name="car_drawer_margin_right">96dp</dimen>
     93     <dimen name="rail_height">80dp</dimen>
     94 
     95     <dimen name="car_drawer_button_container_width">@dimen/stream_content_keyline_2</dimen>
     96 
     97     <!-- The following values should match the values provided by car_stream-ui-lib. Eventually,
     98          when the components in this library are broken out, then this dependency can be added
     99          and the values removed. -->
    100 
    101     <!-- The margin on both sizes of the screen. This margin limits the amount of space that
    102          content can take up on screen. -->
    103     <dimen name="stream_margin_size">16dp</dimen>
    104 
    105     <!-- The size of the gutters between each column. -->
    106     <dimen name="stream_gutter_size">16dp</dimen>
    107 
    108     <!-- Keylines for content in the stream. -->
    109     <dimen name="stream_content_keyline_1">24dp</dimen>
    110     <dimen name="stream_content_keyline_2">96dp</dimen>
    111 
    112     <!-- Keylines for content within a card. -->
    113     <dimen name="stream_card_keyline_1">24dp</dimen>
    114     <dimen name="stream_card_keyline_2">96dp</dimen>
    115 </resources>
    116