blob: 575d386466a4bfb487fc5e1dea2249e27b9d0541 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2018 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>
<!-- CarLauncher Activity values -->
<dimen name="launcher_card_corner_radius">8dp</dimen>
<!-- Vertical percentage of screen (not occupied by maps to devote to the contextual space
(Ex: date time temp) -->
<item name="contextual_screen_percentage" type="dimen" format="float">.6</item>
<!--Used for the space between the top, and bottom of the screen and the content -->
<dimen name="vertical_border_size">@*android:dimen/car_padding_1</dimen>
<!-- Used for the space between the start, and end of the screen and the content -->
<dimen name="horizontal_border_size">@*android:dimen/car_padding_1</dimen>
<!-- Margin surrounding fragments on the main activity -->
<dimen name="main_screen_widget_margin">16dp</dimen>
<!-- AppGridActivity -->
<dimen name="recent_apps_divider_margin">40dp</dimen>
<item name="app_icon_opacity_unavailable" type="dimen" format="float">0.5</item>
<item name="app_icon_opacity" type="dimen" format="float">1.0</item>
<!-- Gap between top of screen (statusbar) and header content -->
<dimen name="app_grid_header_margin">@*android:dimen/car_padding_4</dimen>
<dimen name="panel_margin">@*android:dimen/car_margin</dimen>
<!-- Height of the text and exit button on the app selection screen -->
<dimen name="app_bar_height">@*android:dimen/car_app_bar_height</dimen>
<dimen name="icon_size">@*android:dimen/car_primary_icon_size</dimen>
<dimen name="recent_apps_row_height">@*android:dimen/car_list_divider_height</dimen>
<dimen name="app_grid_touch_target_size">@*android:dimen/car_touch_target_size</dimen>
<!-- Padding around the touch target (makes ripple look better) -->
<dimen name="app_touch_target_padding">@*android:dimen/car_padding_2</dimen>
<dimen name="app_touch_target_margin">@*android:dimen/car_padding_1</dimen>
<dimen name="app_grid_row_margin">@*android:dimen/car_padding_4</dimen>
<dimen name="app_icon_description_margin">@*android:dimen/car_padding_4</dimen>
<dimen name="app_icon_ripple_radius">@*android:dimen/car_radius_2</dimen>
<!-- AppSearchActivity -->
<dimen name="search_item_width">760dp</dimen>
<dimen name="search_result_margin">@*android:dimen/car_padding_1</dimen>
<dimen name="search_result_text_margin">@*android:dimen/car_keyline_3</dimen>
<dimen name="search_box_height">65dp</dimen>
<dimen name="search_bar_margin">@*android:dimen/car_keyline_1</dimen>
<dimen name="search_bar_drawable_text_padding">46dp</dimen>
<!-- Card dimensions -->
<dimen name="card_width">388dp</dimen>
<!-- Card Header dimensions -->
<dimen name="card_content_margin">24dp</dimen>
<dimen name="card_icon_size">36dp</dimen>
<dimen name="card_name_margin_start">16dp</dimen>
<!-- Card Content dimensions -->
<dimen name="media_top_margin">24dp</dimen>
<dimen name="descriptive_text_only_top_margin">32dp</dimen>
<dimen name="descriptive_text_with_controls_top_margin">24dp</dimen>
<!-- Percent transparency of the scrim applied to the image used for the card's background as a float between 0 and 1, where 0 applies no darkening scrim-->
<dimen name="card_background_scrim_alpha" format="float">0.72</dimen>
<!--Percent by which to blur the image used for the card's background as a float between 0 and 1, where 0 is not blurred-->
<dimen name="card_background_image_blur_radius" format="float">0.36</dimen>
<!-- card_content_descriptive_text dimensions -->
<dimen name="card_content_image_size">76dp</dimen>
<dimen name="card_content_image_margin">16dp</dimen>
<dimen name="descriptive_text_margin_top">8dp</dimen>
<dimen name="secondary_text_margin_top">0dp</dimen>
<!-- card_content_text_block dimensions -->
<dimen name="text_block_top_margin">24dp</dimen>
<!-- card_content_button_trio dimensions -->
<dimen name="home_card_button_size">44dp</dimen>
<dimen name="button_outline_thickness">4dp</dimen>
<dimen name="button_tap_target_size">76dp</dimen>
<dimen name="button_tap_target_icon_padding">8dp</dimen>
<dimen name="button_trio_margin">24dp</dimen>
<!-- card_content_playback_controls dimensions -->
<dimen name="playback_controls_margin">24dp</dimen>
<!-- card_content_tap_for_more dimensions -->
<dimen name="tap_text_margin">24dp</dimen>
<dimen name="control_bar_padding">0dp</dimen>
</resources>