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_headline_1_size">45dp</dimen>
     25     <dimen name="car_headline_2_size">40dp</dimen>
     26     <dimen name="car_title_size">26dp</dimen>
     27     <dimen name="car_body_1_size">32dp</dimen>
     28     <dimen name="car_body_2_size">26dp</dimen>
     29     <dimen name="car_caption_size">24dp</dimen>
     30     <dimen name="car_micro_size">20dp</dimen>
     31 
     32     <dimen name="car_action_bar_icon_padding">10dp</dimen>
     33     <dimen name="car_action_bar_margin">15dp</dimen>
     34 
     35     <dimen name="car_drawer_header_height">96dp</dimen>
     36     <dimen name="car_drawer_header_menu_button_size">96dp</dimen>
     37     <dimen name="car_drawer_standard_width">704dp</dimen>
     38     <dimen name="car_drawer_max_width">884dp</dimen>
     39     <dimen name="car_drawer_item_max_width">788dp</dimen>
     40 
     41     <dimen name="car_list_item_height">88dp</dimen>
     42     <dimen name="car_list_item_height_small">64dp</dimen>
     43     <!-- Sample row height used for scroll bar calculations in the off chance that a view hasn't
     44          been measured. It's highly unlikely that this value will actually be used for more than
     45          a frame max. The sample row is a 96dp card + 16dp margin on either side. -->
     46     <dimen name="car_sample_row_height">128dp</dimen>
     47     <!-- The amount of space the LayoutManager will make sure the last item on the screen is
     48          peeking before scrolling down -->
     49     <dimen name="car_last_card_peek_amount">16dp</dimen>
     50     <dimen name="car_paged_list_view_pagination_width">96dp</dimen>
     51     <dimen name="car_paged_list_view_button_background_inset">24dp</dimen>
     52     <dimen name="car_paged_list_view_scrollbar_thumb_margin">8dp</dimen>
     53     <!-- height of list dividers -->
     54     <dimen name="car_divider_height">1dp</dimen>
     55 
     56     <dimen name="car_list_item_icon_size">64dp</dimen>
     57     <dimen name="car_list_item_icon_right_margin">32dp</dimen>
     58     <dimen name="car_list_item_icon_size_small">32dp</dimen>
     59     <dimen name="car_list_item_small_icon_size">56dp</dimen>
     60     <dimen name="car_list_item_right_icon_margin">20dp</dimen>
     61     <dimen name="car_list_unavailable_category_item_height">108dp</dimen>
     62     <dimen name="car_list_truncated_list_card_height">108dp</dimen>
     63     <dimen name="car_list_truncated_list_card_elevation">8dp</dimen>
     64     <dimen name="car_list_truncated_list_icon_size">56dp</dimen>
     65     <dimen name="car_list_truncated_list_icon_padding">22dp</dimen>
     66     <dimen name="car_list_truncated_list_drawable_padding">48dp</dimen>
     67     <dimen name="car_list_truncated_list_padding">10dp</dimen>
     68     <dimen name="car_text_vertical_margin">2dp</dimen>
     69     <dimen name="car_card_bottom_margin">8dp</dimen>
     70 
     71     <dimen name="car_touch_feedback_radius">32dp</dimen>
     72     <dimen name="car_card_view_corner_radius">2dp</dimen>
     73     <dimen name="car_card_view_elevation">8dp</dimen>
     74     <dimen name="car_fab_focused_stroke_width">8dp</dimen>
     75     <dimen name="car_fab_focused_growth">1.2dp</dimen>
     76     <!-- The minimum the scrollbar thumb can shrink to -->
     77     <dimen name="min_thumb_height">48dp</dimen>
     78     <!-- The maximum the scrollbar thumb can grow to -->
     79     <dimen name="max_thumb_height">128dp</dimen>
     80 
     81     <dimen name="car_standard_width">800dp</dimen>
     82     <dimen name="car_card_max_width">768dp</dimen>
     83     <dimen name="car_card_margin">96dp</dimen>
     84     <dimen name="car_drawer_margin_right">96dp</dimen>
     85     <dimen name="rail_height">80dp</dimen>
     86 </resources>
     87