1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2020 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<resources xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> 19 <!-- Theme used for the activity that shows when the system forced an app to be resizable --> 20 <style name="ForcedResizableTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> 21 <item name="android:windowBackground">@drawable/forced_resizable_background</item> 22 <item name="android:statusBarColor">@android:color/transparent</item> 23 <item name="android:windowAnimationStyle">@style/Animation.ForcedResizable</item> 24 </style> 25 26 <!-- Theme used for the activity that shows below the desktop mode windows to show wallpaper --> 27 <style name="DesktopWallpaperTheme" parent="@android:style/Theme.Wallpaper.NoTitleBar"> 28 <item name="android:statusBarColor">@android:color/transparent</item> 29 <item name="android:navigationBarColor">@android:color/transparent</item> 30 <item name="android:windowDrawsSystemBarBackgrounds">true</item> 31 <item name="android:windowAnimationStyle">@null</item> 32 </style> 33 34 <style name="Animation.ForcedResizable" parent="@android:style/Animation"> 35 <item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item> 36 37 <!-- If the target stack doesn't have focus, we do a task to front animation. --> 38 <item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item> 39 <item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item> 40 </style> 41 42 <style name="DesktopModeHandleMenuActionButton"> 43 <item name="android:layout_width">match_parent</item> 44 <item name="android:layout_height">52dp</item> 45 <item name="android:gravity">start|center_vertical</item> 46 <item name="android:padding">16dp</item> 47 <item name="android:textSize">14sp</item> 48 <item name="android:textFontWeight">500</item> 49 <item name="android:textColor">?androidprv:attr/materialColorOnSurface</item> 50 <item name="android:drawablePadding">16dp</item> 51 <item name="android:background">?android:selectableItemBackground</item> 52 </style> 53 54 <style name="DesktopModeHandleMenuWindowingButton"> 55 <item name="android:layout_width">48dp</item> 56 <item name="android:layout_height">48dp</item> 57 <item name="android:padding">14dp</item> 58 <item name="android:scaleType">fitCenter</item> 59 <item name="android:background">?android:selectableItemBackgroundBorderless</item> 60 </style> 61 62 <style name="CaptionButtonStyle"> 63 <item name="android:layout_width">32dp</item> 64 <item name="android:layout_height">32dp</item> 65 <item name="android:layout_margin">5dp</item> 66 <item name="android:padding">4dp</item> 67 </style> 68 69 <style name="DockedDividerBackground"> 70 <item name="android:layout_width">match_parent</item> 71 <item name="android:layout_height">match_parent</item> 72 <item name="android:layout_gravity">center</item> 73 <item name="android:background">@color/split_divider_background</item> 74 </style> 75 76 <style name="TvPipEduText"> 77 <item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item> 78 <item name="android:textAllCaps">true</item> 79 <item name="android:textSize">10sp</item> 80 <item name="android:lineSpacingExtra">4sp</item> 81 <item name="android:lineHeight">16sp</item> 82 <item name="android:textColor">@color/tv_pip_edu_text</item> 83 </style> 84 85 <style name="LetterboxDialog" parent="@android:style/Theme.Holo"> 86 <item name="android:layout_width">wrap_content</item> 87 <item name="android:layout_height">wrap_content</item> 88 <item name="android:background">@color/letterbox_dialog_background</item> 89 </style> 90 91 <style name="RestartDialogTitleText"> 92 <item name="android:textSize">24sp</item> 93 <item name="android:textColor">?android:attr/textColorPrimary</item> 94 <item name="android:lineSpacingExtra">8sp</item> 95 <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item> 96 </style> 97 98 <style name="RestartDialogBodyStyle"> 99 <item name="android:textSize">14sp</item> 100 <item name="android:fontFamily">@*android:string/config_bodyFontFamily</item> 101 </style> 102 103 <style name="RestartDialogBodyText" parent="RestartDialogBodyStyle"> 104 <item name="android:letterSpacing">0.02</item> 105 <item name="android:textColor">?android:attr/textColorSecondary</item> 106 <item name="android:lineSpacingExtra">6sp</item> 107 </style> 108 109 <style name="RestartDialogCheckboxText" parent="RestartDialogBodyStyle"> 110 <item name="android:textColor">?android:attr/textColorPrimary</item> 111 <item name="android:lineSpacingExtra">6sp</item> 112 </style> 113 114 <style name="RestartDialogDismissButton" parent="RestartDialogBodyStyle"> 115 <item name="android:lineSpacingExtra">2sp</item> 116 <item name="android:textColor">?android:attr/textColorPrimary</item> 117 </style> 118 119 <style name="RestartDialogConfirmButton" parent="RestartDialogBodyStyle"> 120 <item name="android:lineSpacingExtra">2sp</item> 121 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> 122 </style> 123 124 <style name="ReachabilityEduHandLayout" parent="Theme.AppCompat.Light"> 125 <item name="android:focusable">false</item> 126 <item name="android:focusableInTouchMode">false</item> 127 <item name="android:background">@android:color/transparent</item> 128 <item name="android:lineSpacingExtra">-1sp</item> 129 <item name="android:textSize">12sp</item> 130 <item name="android:textAlignment">center</item> 131 <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> 132 <item name="android:textAppearance"> 133 @*android:style/TextAppearance.DeviceDefault.Body2 134 </item> 135 </style> 136 137</resources> 138