blob: c1ab04673ff252cb98c94220fd49731043911d41 [file] [log] [blame]
<?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">76dp</dimen>
<dimen name="status_bar_height_landscape">76dp</dimen>
<dimen name="status_bar_height_portrait">76dp</dimen>
<dimen name="car_qs_header_system_icons_area_height">76dp</dimen>
<dimen name="navigation_bar_height">112dp</dimen>
<dimen name="navigation_bar_height_landscape">112dp</dimen>
<!-- Notification icon size in the status bar. -->
<dimen name="status_bar_icon_size">32dp</dimen>
<!-- System status icon size in the status bar. -->
<dimen name="status_bar_system_icon_size">32dp</dimen>
<!-- The size of the right icon. This size is used to down-sample the bitmaps for "large icon". -->
<dimen name="notification_right_icon_size">@*android:dimen/car_touch_target_size</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">@*android: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">@*android: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">@*android: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">@*android: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>
<!-- Make the dots in lock pattern thicker in Car -->
<dimen name="lock_pattern_dot_size">20dp</dimen>
<!-- Autofill save dialog padding -->
<dimen name="autofill_save_outer_top_margin">@*android:dimen/car_padding_2</dimen>
<dimen name="autofill_save_outer_top_padding">@*android:dimen/car_padding_2</dimen>
<dimen name="autofill_elevation">@*android:dimen/car_padding_2</dimen>
<dimen name="autofill_save_inner_padding">@*android:dimen/car_padding_2</dimen>
<dimen name="autofill_save_icon_size">@*android:dimen/car_primary_icon_size</dimen>
<dimen name="autofill_save_title_start_padding">@*android:dimen/car_padding_4</dimen>
<dimen name="autofill_save_scroll_view_top_margin">@*android:dimen/car_padding_4</dimen>
<dimen name="autofill_save_button_bar_padding">@*android:dimen/car_keyline_1</dimen>
<!-- Floating toolbar dimensions -->
<dimen name="floating_toolbar_menu_button_side_padding">@*android:dimen/car_padding_2</dimen>
<dimen name="floating_toolbar_menu_image_width">@*android:dimen/car_primary_icon_size</dimen>
<dimen name="floating_toolbar_menu_image_button_vertical_padding">@*android:dimen/car_padding_2</dimen>
<dimen name="floating_toolbar_text_size">@*android:dimen/car_body1_size</dimen>
</resources>