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 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 19 | <dimen name="car_ui_touch_target_width">76dp</dimen> |
| 20 | <dimen name="car_ui_touch_target_height">76dp</dimen> |
| 21 | <dimen name="car_ui_primary_icon_size">44dp</dimen> |
| 22 | <item name="car_ui_letter_spacing_body1" format="float" type="dimen">0.0</item> |
| 23 | <item name="car_ui_letter_spacing_body3" format="float" type="dimen">0.0</item> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 24 | |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 25 | <!-- Margin --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 26 | <dimen name="car_ui_margin">112dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 27 | |
| 28 | <!-- Paddings --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 29 | <dimen name="car_ui_padding_0">4dp</dimen> |
| 30 | <dimen name="car_ui_padding_1">8dp</dimen> |
| 31 | <dimen name="car_ui_padding_2">16dp</dimen> |
| 32 | <dimen name="car_ui_padding_3">24dp</dimen> |
| 33 | <dimen name="car_ui_padding_4">32dp</dimen> |
| 34 | <dimen name="car_ui_padding_5">64dp</dimen> |
| 35 | <dimen name="car_ui_padding_6">96dp</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 36 | |
| 37 | <!-- Tabs --> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 38 | |
| 39 | <!-- Exact size of the tab textbox. Use @dimen/wrap_content if this must be flexible --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 40 | <dimen name="car_ui_tab_text_width">135dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 41 | <!-- Horizontal padding between tabs --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 42 | <dimen name="car_ui_tab_padding_x">12dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 43 | <!-- Tab icon width (if icons are enabled) --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 44 | <dimen name="car_ui_tab_icon_width">36dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 45 | <!-- Tab icon height (if icons are enabled) --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 46 | <dimen name="car_ui_tab_icon_height">36dp</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 47 | |
| 48 | <!-- Car toolbar --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 49 | <dimen name="car_ui_toolbar_row_height">96dp</dimen> |
| 50 | <dimen name="car_ui_toolbar_first_row_height">@dimen/car_ui_toolbar_row_height</dimen> |
| 51 | <dimen name="car_ui_toolbar_second_row_height">@dimen/car_ui_toolbar_row_height</dimen> |
| 52 | <dimen name="car_ui_toolbar_nav_button_width">@dimen/car_ui_margin</dimen> |
Ram Parameswaran | 6505d78 | 2019-09-23 18:20:14 -0700 | [diff] [blame^] | 53 | <dimen name="car_ui_toolbar_start_inset">0dp</dimen> |
| 54 | <dimen name="car_ui_toolbar_end_inset">0dp</dimen> |
| 55 | <dimen name="car_ui_toolbar_top_inset">0dp</dimen> |
| 56 | <dimen name="car_ui_toolbar_bottom_inset">0dp</dimen> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 57 | <dimen name="car_ui_toolbar_icon_size">@dimen/car_ui_primary_icon_size</dimen> |
| 58 | <dimen name="car_ui_toolbar_title_margin_start">@dimen/car_ui_padding_2</dimen> |
| 59 | <dimen name="car_ui_toolbar_menu_item_margin">@dimen/car_ui_padding_2</dimen> |
| 60 | <dimen name="car_ui_toolbar_icon_ripple_radius">48dp</dimen> |
Roberto Perez | ace150c | 2019-08-23 18:15:22 -0700 | [diff] [blame] | 61 | |
| 62 | <!-- Internal artifacts. Do not overlay --> |
| 63 | <item name="wrap_content" format="integer" type="dimen">-2</item> |
Priyank Singh | 7e87d5c | 2019-08-29 10:38:52 -0700 | [diff] [blame] | 64 | |
| 65 | <!-- Default Scroll Bar for PagedRecyclerView --> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 66 | <dimen name="car_ui_scrollbar_button_size">@dimen/car_ui_touch_target_width</dimen> |
Priyank Singh | 1fc49c5 | 2019-09-20 10:41:28 -0700 | [diff] [blame] | 67 | <dimen name="car_ui_scrollbar_thumb_width">7dp</dimen> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 68 | <dimen name="car_ui_scrollbar_separator_margin">16dp</dimen> |
| 69 | <dimen name="car_ui_scrollbar_margin">@dimen/car_ui_margin</dimen> |
| 70 | <dimen name="car_ui_scrollbar_thumb_radius">100dp</dimen> |
Priyank Singh | 7e87d5c | 2019-08-29 10:38:52 -0700 | [diff] [blame] | 71 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 72 | <item name="car_ui_button_disabled_alpha" format="float" type="dimen">0.2</item> |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 73 | <item name="car_ui_scrollbar_milliseconds_per_inch" format="float" type="dimen">150.0</item> |
| 74 | <item name="car_ui_scrollbar_deceleration_times_divisor" format="float" type="dimen">0.45</item> |
| 75 | <item name="car_ui_scrollbar_decelerate_interpolator_factor" format="float" type="dimen">1.8</item> |
Priyank Singh | 7e87d5c | 2019-08-29 10:38:52 -0700 | [diff] [blame] | 76 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 77 | <dimen name="car_ui_scrollbar_padding_start">0dp</dimen> |
| 78 | <dimen name="car_ui_scrollbar_padding_end">0dp</dimen> |
davidln | 05ecc74 | 2019-09-09 15:03:45 -0700 | [diff] [blame] | 79 | |
| 80 | <!-- Preferences --> |
| 81 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 82 | <dimen name="car_ui_preference_category_text_size">24sp</dimen> |
| 83 | <dimen name="car_ui_preference_summary_text_size">24sp</dimen> |
| 84 | <dimen name="car_ui_preference_title_text_size">32sp</dimen> |
| 85 | <dimen name="car_ui_preference_edit_text_dialog_message_text_size">24sp</dimen> |
davidln | 05ecc74 | 2019-09-09 15:03:45 -0700 | [diff] [blame] | 86 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 87 | <dimen name="car_ui_preference_content_margin_top">16dp</dimen> |
| 88 | <dimen name="car_ui_preference_content_margin_bottom">16dp</dimen> |
| 89 | <dimen name="car_ui_preference_icon_size">44dp</dimen> |
| 90 | <dimen name="car_ui_preference_icon_margin_end">16dp</dimen> |
davidln | 05ecc74 | 2019-09-09 15:03:45 -0700 | [diff] [blame] | 91 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 92 | <dimen name="car_ui_preference_category_min_height">76dp</dimen> |
| 93 | <dimen name="car_ui_preference_category_icon_size">44dp</dimen> |
| 94 | <dimen name="car_ui_preference_category_icon_margin_end">16dp</dimen> |
davidln | 05ecc74 | 2019-09-09 15:03:45 -0700 | [diff] [blame] | 95 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 96 | <dimen name="car_ui_preference_dropdown_padding_start">112dp</dimen> |
davidln | 05ecc74 | 2019-09-09 15:03:45 -0700 | [diff] [blame] | 97 | |
Brad Stenning | be10fe3 | 2019-09-12 13:32:03 -0700 | [diff] [blame] | 98 | <dimen name="car_ui_preference_edit_text_dialog_margin_top">32dp</dimen> |
| 99 | <dimen name="car_ui_preference_edit_text_dialog_margin_bottom">32dp</dimen> |
| 100 | <dimen name="car_ui_preference_edit_text_dialog_message_margin_bottom">32dp</dimen> |
| 101 | <dimen name="car_ui_preference_edit_text_dialog_message_margin_start">24dp</dimen> |
| 102 | <dimen name="car_ui_preference_edit_text_dialog_message_margin_end">24dp</dimen> |
| 103 | <dimen name="car_ui_preference_edit_text_dialog_text_margin_start">24dp</dimen> |
| 104 | <dimen name="car_ui_preference_edit_text_dialog_text_margin_end">24dp</dimen> |
Priyank Singh | 7ddf220 | 2019-09-11 19:39:37 -0700 | [diff] [blame] | 105 | |
| 106 | <!-- Alert dialog --> |
| 107 | |
| 108 | <dimen name="car_ui_dialog_edittext_height">50dp</dimen> |
| 109 | <dimen name="car_ui_dialog_edittext_margin_top">10dp</dimen> |
| 110 | <dimen name="car_ui_dialog_edittext_margin_bottom">10dp</dimen> |
| 111 | <dimen name="car_ui_dialog_edittext_margin_start">22dp</dimen> |
| 112 | <dimen name="car_ui_dialog_edittext_margin_end">22dp</dimen> |
Cole Faust | c08225a | 2019-08-02 13:12:32 -0700 | [diff] [blame] | 113 | </resources> |