Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2019 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> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 17 | <!-- General resources --> |
| 18 | |
| 19 | <dimen name="chassis_touch_target_width">76dp</dimen> |
| 20 | <dimen name="chassis_touch_target_height">76dp</dimen> |
| 21 | <dimen name="chassis_primary_icon_size">44dp</dimen> |
| 22 | <item name="chassis_letter_spacing_body1" format="float" type="dimen">0.0</item> |
| 23 | <item name="chassis_letter_spacing_body3" format="float" type="dimen">0.0</item> |
| 24 | |
| 25 | <!-- Application Bar --> |
| 26 | <dimen name="chassis_app_bar_height">80dp</dimen> |
| 27 | |
| 28 | <!-- Margin --> |
| 29 | <dimen name="chassis_margin">20dp</dimen> |
| 30 | |
| 31 | <!-- Paddings --> |
| 32 | <dimen name="chassis_padding_0">4dp</dimen> |
| 33 | <dimen name="chassis_padding_1">8dp</dimen> |
| 34 | <dimen name="chassis_padding_2">16dp</dimen> |
| 35 | <dimen name="chassis_padding_3">24dp</dimen> |
| 36 | <dimen name="chassis_padding_4">32dp</dimen> |
| 37 | <dimen name="chassis_padding_5">64dp</dimen> |
| 38 | <dimen name="chassis_padding_6">96dp</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 39 | |
| 40 | <!-- Tabs --> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 41 | |
| 42 | <!-- Exact size of the tab textbox. Use @dimen/wrap_content if this must be flexible --> |
| 43 | <dimen name="chassis_tab_text_width">135dp</dimen> |
| 44 | <!-- Horizontal padding between tabs --> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 45 | <dimen name="chassis_tab_padding_x">12dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 46 | <!-- Tab icon width (if icons are enabled) --> |
| 47 | <dimen name="chassis_tab_icon_width">36dp</dimen> |
| 48 | <!-- Tab icon height (if icons are enabled) --> |
| 49 | <dimen name="chassis_tab_icon_height">36dp</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 50 | |
| 51 | <!-- Car toolbar --> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 52 | <dimen name="chassis_toolbar_view_nav_button_width">@dimen/chassis_margin</dimen> |
| 53 | <dimen name="chassis_toolbar_first_row_height">@dimen/chassis_app_bar_height</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 54 | <dimen name="chassis_toolbar_second_row_height">0dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 55 | <dimen name="chassis_toolbar_view_icon_size">@dimen/chassis_primary_icon_size</dimen> |
| 56 | <dimen name="chassis_toolbar_view_title_margin_start">@dimen/chassis_padding_2</dimen> |
| 57 | <dimen name="chassis_toolbar_custom_button_margin">@dimen/chassis_padding_2</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 58 | <dimen name="chassis_toolbar_button_background_radius">48dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 59 | |
| 60 | <!-- Internal artifacts. Do not overlay --> |
| 61 | <item name="wrap_content" format="integer" type="dimen">-2</item> |
Priyank Singh | 7e87d5c | 2019-08-29 10:38:52 -0700 | [diff] [blame^] | 62 | |
| 63 | <!-- Default Scroll Bar for PagedRecyclerView --> |
| 64 | <dimen name="chassis_scrollbar_button_size">76dp</dimen> |
| 65 | <dimen name="chassis_scrollbar_thumb_width">6dp</dimen> |
| 66 | <dimen name="chassis_scrollbar_separator_margin">16dp</dimen> |
| 67 | <dimen name="chassis_scrollbar_margin">20dp</dimen> |
| 68 | <dimen name="chassis_scrollbar_thumb_radius">100dp</dimen> |
| 69 | |
| 70 | <item name="chassis_button_disabled_alpha" format="float" type="dimen">0.2</item> |
| 71 | <item name="chassis_scroller_milliseconds_per_inch" format="float" type="dimen">150</item> |
| 72 | <item name="chassis_scroller_deceleration_time_divisor" format="float" type="dimen">0.45</item> |
| 73 | <item name="chassis_scroller_interpolator_factor" format="float" type="dimen">1.8</item> |
| 74 | |
| 75 | <item name="chassis_scrollbar_milliseconds_per_inch" format="float" type="dimen">150.0</item> |
| 76 | <item name="chassis_scrollbar_deceleration_times_divisor" format="float" type="dimen">0.45</item> |
| 77 | <item name="chassis_scrollbar_decelerate_interpolator_factor" format="float" type="dimen">1.8</item> |
| 78 | |
| 79 | <dimen name="chassis_scrollbar_padding_start">0dp</dimen> |
| 80 | <dimen name="chassis_scrollbar_padding_end">0dp</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 81 | </resources> |