| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| ** Copyright 2016, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| */ |
| --> |
| <resources> |
| <dimen name="status_bar_height">36dp</dimen> |
| |
| <!-- Both of these are used in separate positions so make sure that they remain the same. --> |
| <dimen name="navigation_bar_height_car_mode">112dp</dimen> |
| <dimen name="navigation_bar_height_landscape">112dp</dimen> |
| <dimen name="status_bar_icon_size">40dp</dimen> |
| |
| <!-- The height of the header of a notification. --> |
| <dimen name="notification_header_height">58dp</dimen> |
| |
| <!-- The absolute size of the notification expand icon. --> |
| <dimen name="notification_header_expand_icon_size">55dp</dimen> |
| |
| <!-- The top padding for the notification expand button. --> |
| <dimen name="notification_expand_button_padding_top">0dp</dimen> |
| |
| <!-- The end margin after the application icon in the notification header --> |
| <dimen name="notification_header_icon_margin_end">10dp</dimen> |
| |
| <!-- The absolute size of the application icon in the notification header. --> |
| <dimen name="notification_header_icon_size">24dp</dimen> |
| |
| <!-- The margins before and after each of the items in the notification header.--> |
| <dimen name="notification_header_separating_margin">6dp</dimen> |
| |
| <!-- The margins before the start of the app name in the header. --> |
| <dimen name="notification_header_app_name_margin_start">@dimen/notification_header_separating_margin</dimen> |
| |
| <!-- The padding at the top of the notification header. --> |
| <dimen name="notification_header_padding_top">0dp</dimen> |
| |
| <!-- The padding at the bottom of the notification header. --> |
| <dimen name="notification_header_padding_bottom">0dp</dimen> |
| |
| <!-- The margin at the bottom of the notification header. --> |
| <dimen name="notification_header_margin_bottom">0dp</dimen> |
| |
| <!-- The absolute height for the header in a media notification. --> |
| <dimen name="media_notification_header_height">@dimen/notification_header_height</dimen> |
| |
| <!-- Top margin to accommodate for the header before the notification content. This value |
| is 8dp smaller than the notification_header_height to bring the text closer. Otherwise, |
| spacing in the font itself makes the space look too large. --> |
| <dimen name="notification_content_margin_top">55dp</dimen> |
| |
| <!-- The bottom margin after the notification content.--> |
| <dimen name="notification_content_margin_bottom">24dp</dimen> |
| |
| <!-- The margin on the start of the content view. This value should match card keyline1. --> |
| <dimen name="notification_content_margin_start">24dp</dimen> |
| |
| <!-- The margin on the end of the content view. Keep in sync with |
| notification_content_plus_picture_margin! --> |
| <dimen name="notification_content_margin_end">@dimen/notification_content_margin_start</dimen> |
| |
| <!-- The margin on the end of the content view with a picture. This value is the size of |
| the right icon (64dp) + notification_content_margin_end + 16dp. --> |
| <dimen name="notification_content_picture_margin">106dp</dimen> |
| |
| <!-- The margin on the end of the content view with a picture, plus the standard |
| content end margin. --> |
| <dimen name="notification_content_plus_picture_margin_end">80dp</dimen> |
| |
| <!-- Size of notification text titles (see TextAppearance.StatusBar.EventContent.Title). --> |
| <dimen name="notification_title_text_size">32sp</dimen> |
| |
| <!-- Size of notification text (see TextAppearance.StatusBar.EventContent). --> |
| <dimen name="notification_text_size">26sp</dimen> |
| |
| <!-- Size of smaller notification text (see TextAppearance.StatusBar.EventContent.Line2, |
| Info, Time). --> |
| <dimen name="notification_subtext_size">@dimen/notification_text_size</dimen> |
| |
| <!-- The margin on top of the text of the notification. --> |
| <dimen name="notification_text_margin_top">0dp</dimen> |
| |
| <!-- The height of the notification action list. --> |
| <dimen name="notification_action_list_height">76dp</dimen> |
| |
| <!-- The size of the media actions in the media notification. --> |
| <dimen name="media_notification_action_button_size">36dp</dimen> |
| |
| <!-- The bottom padding for the media actions container. --> |
| <dimen name="media_notification_actions_padding_bottom">0dp</dimen> |
| |
| <!-- The height of the progress bar. --> |
| <dimen name="notification_progress_bar_height">25dp</dimen> |
| |
| <!-- The top margin before the notification progress bar. --> |
| <dimen name="notification_progress_margin_top">16dp</dimen> |
| |
| <!-- Text size for car --> |
| <dimen name="car_title_size">32sp</dimen> |
| <dimen name="car_title2_size">32sp</dimen> |
| <dimen name="car_headline1_size">45sp</dimen> |
| <dimen name="car_headline2_size">32sp</dimen> |
| <dimen name="car_headline3_size">24sp</dimen> |
| <dimen name="car_headline4_size">20sp</dimen> |
| <dimen name="car_body1_size">32sp</dimen> |
| <dimen name="car_body2_size">26sp</dimen> |
| <dimen name="car_body3_size">16sp</dimen> |
| <dimen name="car_body4_size">14sp</dimen> |
| <dimen name="car_body5_size">18sp</dimen> |
| <dimen name="car_label1_size">26sp</dimen> |
| <dimen name="car_label2_size">64sp</dimen> |
| <dimen name="car_action1_size">26sp</dimen> |
| <dimen name="car_action2_size">26sp</dimen> |
| |
| <!-- Common icon size for car app --> |
| <dimen name="car_icon_size">56dp</dimen> |
| |
| <dimen name="car_card_header_height">96dp</dimen> |
| <dimen name="car_card_action_bar_height">96dp</dimen> |
| |
| <!-- Paddings --> |
| <dimen name="car_padding_1">4dp</dimen> |
| <dimen name="car_padding_2">10dp</dimen> |
| <dimen name="car_padding_3">16dp</dimen> |
| <dimen name="car_padding_4">28dp</dimen> |
| <dimen name="car_padding_5">32dp</dimen> |
| |
| <!-- Radius --> |
| <dimen name="car_radius_1">4dp</dimen> |
| <dimen name="car_radius_2">8dp</dimen> |
| <dimen name="car_radius_3">16dp</dimen> |
| <dimen name="car_radius_5">100dp</dimen> |
| |
| <!-- Keylines for content. --> |
| <dimen name="car_keyline_1">48dp</dimen> |
| <dimen name="car_keyline_2">108dp</dimen> |
| <dimen name="car_keyline_3">152dp</dimen> |
| <dimen name="car_keyline_4">182dp</dimen> |
| |
| <!-- Buttons --> |
| <dimen name="car_button_height">56dp</dimen> |
| <dimen name="car_button_min_width">158dp</dimen> |
| <dimen name="car_button_horizontal_padding">@dimen/car_padding_4</dimen> |
| <dimen name="car_borderless_button_horizontal_padding">0dp</dimen> |
| <dimen name="car_button_radius">@dimen/car_radius_1</dimen> |
| <dimen name="car_pill_button_size">56dp</dimen> |
| |
| <!-- Seekbar --> |
| <dimen name="car_seekbar_height">6dp</dimen> |
| <dimen name="car_seekbar_padding">26dp</dimen> |
| <dimen name="car_seekbar_thumb_size">24dp</dimen> |
| <dimen name="car_seekbar_thumb_stroke">1dp</dimen> |
| <!-- The space between seekbar and text in ListItem. This value is based on car_seekbar_padding. |
| It brings seekbar and text closer for visual balance while maintaining touch area. --> |
| <dimen name="car_seekbar_text_overlap">-20dp</dimen> |
| |
| <!-- Progress Bar --> |
| <dimen name="car_progress_bar_height">@dimen/car_seekbar_height</dimen> |
| |
| <!-- Make the dots in lock pattern thicker in Car --> |
| <dimen name="lock_pattern_dot_size">20dp</dimen> |
| </resources> |