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 <style name="CardViewStyle"> 19 <item name="cardCornerRadius">@dimen/launcher_card_corner_radius</item> 20 <item name="cardElevation">0dp</item> 21 </style> 22 23 <style name="ContextualSpace" parent="CardViewStyle"> 24 <item name="cardBackgroundColor">?android:attr/colorPrimary</item> 25 </style> 26 27 <style name="TitleText"> 28 <item name="android:textAppearance">?android:attr/textAppearanceLarge</item> 29 <item name="android:fontFamily">sans-serif-medium</item> 30 <item name="android:textAlignment">viewStart</item> 31 </style> 32 33 <style name="RecentTasksListFocusArea"> 34 <item name="android:layout_width">match_parent</item> 35 <item name="android:layout_height">0dp</item> 36 </style> 37 38 <style name="RecentTasksList"> 39 <item name="android:layout_width">match_parent</item> 40 <item name="android:layout_height">match_parent</item> 41 <item name="android:paddingTop">37dp</item> 42 <item name="android:paddingBottom">51dp</item> 43 <item name="android:scrollbars">none</item> 44 <item name="android:clipToPadding">false</item> 45 </style> 46 47 <style name="ClearAllRecentTasksButton"> 48 <item name="android:layout_width">wrap_content</item> 49 <item name="android:layout_height">wrap_content</item> 50 <item name="android:paddingVertical">20dp</item> 51 <item name="android:paddingHorizontal">48dp</item> 52 <item name="android:textSize">24sp</item> 53 <item name="android:letterSpacing">0.03</item> 54 <item name="android:textColor">@color/clear_all_recents_text_color</item> 55 <item name="android:background">@drawable/recent_clear_all_button_background</item> 56 </style> 57 58 <style name="RecentTaskIcon"> 59 <item name="android:layout_width">@dimen/recent_task_icon_size</item> 60 <item name="android:layout_height">@dimen/recent_task_icon_size</item> 61 <item name="android:layout_marginTop">14dp</item> 62 <item name="android:layout_marginBottom">14dp</item> 63 </style> 64 65 <style name="RecentTaskThumbnail"> 66 <item name="android:layout_width">wrap_content</item> 67 <item name="android:layout_height">0dp</item> 68 <item name="android:clipToOutline">true</item> 69 <item name="android:scaleType">centerCrop</item> 70 <item name="android:adjustViewBounds">false</item> 71 <item name="shapeAppearanceOverlay">@style/RecentTaskThumbnail.RoundedBorder</item> 72 </style> 73 74 <style name="HiddenRecentTaskThumbnail" parent="RecentTaskThumbnail"> 75 </style> 76 77 <style name="RecentTaskDismissButton"> 78 <item name="android:layout_width">@dimen/recent_task_dismiss_button_size</item> 79 <item name="android:layout_height">@dimen/recent_task_dismiss_button_size</item> 80 <item name="android:scaleType">fitCenter</item> 81 <item name="android:background">@drawable/recent_dismiss_button_background</item> 82 </style> 83 84 <style name="RecentTaskThumbnail.RoundedBorder"> 85 <item name="cornerFamily">rounded</item> 86 <item name="cornerSize">8dp</item> 87 </style> 88 89 <style name="CalmModeText" parent="TextAppearance.Car.Body.Small"> 90 <item name="android:textColor">@android:color/white</item> 91 </style> 92 93 <style name="CalmModeIcon"> 94 <item name="android:scaleType">fitCenter</item> 95 <item name="android:tint">@android:color/white</item> 96 </style> 97 98 <style name="CalmModeBackgroundImage"> 99 <item name="android:src">@android:color/black</item> 100 <item name="android:scaleType">centerCrop</item> 101 </style> 102 103 <style name="CalmModeText.Date"> 104 <item name="android:textColor">@color/car_outline</item> 105 <item name="android:format12Hour">EE, MMM dd</item> 106 <item name="android:format24Hour">EE, MMM dd</item> 107 </style> 108 109 <style name="CalmModeText.MediaTitle"> 110 <item name="android:textColor">@color/car_outline</item> 111 <item name="android:ellipsize">end</item> 112 <item name="android:maxWidth">1024dp</item> 113 <item name="android:maxLines">2</item> 114 <item name="android:textAlignment">center</item> 115 </style> 116 117 <style name="CalmModeText.Temperature"> 118 <item name="android:textColor">@color/car_outline</item> 119 </style> 120 121 <style name="CalmModeClock" parent="TextAppearance.Car.Display"> 122 <item name="android:fontFamily">roboto-flex</item> 123 <item name="android:textFontWeight">300</item> 124 <item name="android:fontVariationSettings">"'wght' 300, 'wdth' 100, 'xtra' 468, 'xopq' 96, 'yopq' 79, 'ytuc' 712, 'ytas' 750, 'ytde' -203, 'ytfi' 738, 'opsz' 144"</item> 125 <item name="android:textColor">@color/car_neutral_90</item> 126 <item name="android:textSize">300sp</item> 127 <item name="android:textAlignment">center</item> 128 <item name="android:format12Hour">hh:mm</item> 129 <item name="android:format24Hour">HH:mm</item> 130 <item name="android:includeFontPadding">false</item> 131 <item name="android:lineSpacingMultiplier">1</item> 132 <item name="android:lineSpacingExtra">0pt</item> 133 134 </style> 135 136 <style name="MediaCardPanelButtonStyle"> 137 <item name="android:scaleType">centerInside</item> 138 <item name="android:padding">@dimen/media_card_panel_button_icon_padding</item> 139 <item name="android:cropToPadding">true</item> 140 <item name="android:tint">@color/media_card_panel_button_tint_state_list</item> 141 <item name="android:background">@drawable/media_card_panel_button_shape</item> 142 </style> 143 144 <style name="MediaCardCustomActionButtonStyle"> 145 <item name="android:scaleType">fitCenter</item> 146 <item name="android:tint">@color/car_on_surface</item> 147 <item name="android:background">@android:color/transparent</item> 148 </style> 149 150</resources> 151