1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/** 4 * Copyright (c) 2018, The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18--> 19 20<resources> 21 <style name="Theme.Notification" parent="Theme.DeviceDefault.NoActionBar.Notification"> 22 </style> 23 <style name="CarSystemBarButtonOverlay"> 24 <item name="oemTokenOverrideEnabled">true</item> 25 26 </style> 27 <style name="Theme.UserPicker" parent="@style/Theme.CarUi.NoToolbar"> 28 <item name="android:windowSplashScreenAnimatedIcon">@drawable/user_picker_splash_icon</item> 29 <item name="android:windowDisablePreview">true</item> 30 <item name="colorSurface">@color/user_picker_snack_bar_transparent_color</item> 31 <item name="colorOnSurface">@color/user_picker_snack_bar_background_color</item> 32 <item name="colorAccent">@*android:color/car_accent</item> 33 <item name="snackbarStyle">@style/Widget.MaterialComponents.Snackbar</item> 34 <item name="snackbarButtonStyle">@style/Widget.MaterialComponents.Button.TextButton.Snackbar</item> 35 <item name="snackbarTextViewStyle">@style/UserPickerSnackBarText</item> 36 <item name="oemTokenOverrideEnabled">true</item> 37 <item name="userPickerPillRadius">?oemShapeCornerLarge</item> 38 </style> 39 40 <!-- Used by the ActivityBlockingActivity to hide the splash screen icon --> 41 <style name="Theme.ActivityBlockingActivity" parent="@android:style/Theme.Translucent.NoTitleBar"> 42 <item name="android:windowSplashScreenAnimatedIcon">@android:color/transparent</item> 43 <item name="android:windowSplashScreenAnimationDuration">0</item> 44 <!-- 45 A translucent window is required to take a screenshot of the blocked app to create 46 a blurred effect. Translucency is disabled after creating the blurred surface in the 47 ActivityBlockingActivity. 48 --> 49 <item name="android:windowIsTranslucent">true</item> 50 <item name="android:windowBackground">@color/activity_blocking_activity_background</item> 51 <item name="oemTokenOverrideEnabled">true</item> 52 <item name="activityBlockingActionButtonCornerRadius">?oemShapeCornerLarge</item> 53 <item name="displayInputLockBackgroundRadius">?oemShapeCornerExtraSmall</item> 54 </style> 55 56 <style name="Theme.ContinuousBlankActivity" parent="@android:style/Theme.NoTitleBar.Fullscreen"> 57 <item name="oemTokenOverrideEnabled">true</item> 58 <item name="activityBlockingActionButtonCornerRadius">?oemShapeCornerLarge</item> 59 <item name="displayInputLockBackgroundRadius">?oemShapeCornerExtraSmall</item> 60 </style> 61 62 <style name="Theme.LaunchOnPrivateDisplayRouterActivity" parent="@android:style/Theme.Translucent.NoTitleBar"> 63 <item name="oemTokenOverrideEnabled">true</item> 64 <item name="activityBlockingActionButtonCornerRadius">?oemShapeCornerLarge</item> 65 <item name="displayInputLockBackgroundRadius">?oemShapeCornerExtraSmall</item> 66 </style> 67</resources> 68