1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (c) 2018 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<resources> 18 <!-- CarLauncher Activity values --> 19 <dimen name="launcher_card_corner_radius">6dp</dimen> 20 <item name="maps_screen_percentage" type="dimen" format="float">0.6</item> 21 <!-- Vertical percentage of screen (not occupied by maps to devote to the contextual space 22 (Ex: date time temp) --> 23 <item name="contextual_screen_percentage" type="dimen" format="float">.6</item> 24 <!-- Padding on the edges of the contextual card --> 25 <dimen name="contextual_padding">@*android:dimen/car_padding_4</dimen> 26 <!--Used for the space between the top, and bottom of the screen and the content --> 27 <dimen name="vertical_border_size">@*android:dimen/car_padding_1</dimen> 28 <!-- Used for the space between the start, and end of the screen and the content --> 29 <dimen name="horizontal_border_size">@*android:dimen/car_padding_1</dimen> 30 <!-- Margin surrounding fragments on the main activity --> 31 <dimen name="main_screen_widget_margin">@*android:dimen/car_padding_1</dimen> 32 <!-- Gap between the end of the icon and the start of the text --> 33 <dimen name="icon_end_margin">@*android:dimen/car_padding_3</dimen> 34 <!-- Gap between text lines --> 35 <dimen name="line_gap_margin">@*android:dimen/car_padding_1</dimen> 36 37 <!-- AppGridActivity --> 38 <dimen name="recent_apps_divider_margin">40dp</dimen> 39 <item name="app_icon_opacity_unavailable" type="dimen" format="float">0.5</item> 40 <item name="app_icon_opacity" type="dimen" format="float">1.0</item> 41 <!-- Gap between top of screen (statusbar) and header content --> 42 <dimen name="app_grid_header_margin">@*android:dimen/car_padding_4</dimen> 43 <dimen name="panel_margin">@*android:dimen/car_margin</dimen> 44 <!-- Height of the text and exit button on the app selection screen --> 45 <dimen name="app_bar_height">@*android:dimen/car_app_bar_height</dimen> 46 <dimen name="icon_size">@*android:dimen/car_primary_icon_size</dimen> 47 <dimen name="recent_apps_row_height">@*android:dimen/car_list_divider_height</dimen> 48 <dimen name="app_grid_touch_target_size">@*android:dimen/car_touch_target_size</dimen> 49 <!-- Padding around the touch target (makes ripple look better) --> 50 <dimen name="app_touch_target_padding">@*android:dimen/car_padding_1</dimen> 51 <dimen name="app_touch_target_margin">@*android:dimen/car_padding_2</dimen> 52 <dimen name="app_grid_row_margin">@*android:dimen/car_padding_4</dimen> 53 <dimen name="app_icon_description_margin">@*android:dimen/car_padding_4</dimen> 54 <dimen name="app_icon_ripple_radius">@*android:dimen/car_radius_2</dimen> 55 56 <!-- AppSearchActivity --> 57 <dimen name="search_item_width">760dp</dimen> 58 <dimen name="search_result_margin">@*android:dimen/car_padding_1</dimen> 59 <dimen name="search_result_text_margin">@*android:dimen/car_keyline_3</dimen> 60 <dimen name="search_box_height">65dp</dimen> 61 <dimen name="search_bar_margin">@*android:dimen/car_keyline_1</dimen> 62 <dimen name="search_bar_drawable_text_padding">46dp</dimen> 63</resources> 64