| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2023 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 xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"> |
| <style name="Theme.SystemUI.Dialog" parent="@android:style/Theme.DeviceDefault.Dialog" /> |
| <style name="Theme.SystemUI.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert" /> |
| |
| <style name="Animation.ShutdownUi"> |
| <item name="android:windowEnterAnimation">@null</item> |
| <item name="android:windowExitAnimation">@null</item> |
| </style> |
| |
| <style name="PrivacyChip"> |
| <item name="android:colorError">@color/cast_connected_fill</item> |
| </style> |
| |
| <style name="SidePanel" parent="Theme.Leanback"> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:backgroundDimAmount">0.6</item> |
| </style> |
| |
| <style name="BottomSheet" parent="Theme.Leanback"> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:windowActivityTransitions">true</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:backgroundDimAmount">0.2</item> |
| </style> |
| |
| <style name="BottomSheet.TitleText"> |
| <item name="android:textSize">28sp</item> |
| <item name="android:textColor">@color/bottom_sheet_title_color</item> |
| </style> |
| |
| <style name="BottomSheet.BodyText"> |
| <item name="android:textSize">16sp</item> |
| <item name="android:textColor">@color/bottom_sheet_body_color</item> |
| </style> |
| |
| <style name="BottomSheet.ActionItem"> |
| <item name="android:layout_width">@dimen/bottom_sheet_button_width</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:gravity">start|center_vertical</item> |
| <item name="android:textSize">16sp</item> |
| <item name="android:textColor">@color/bottom_sheet_button_text_color</item> |
| <item name="android:background">@drawable/bottom_sheet_button_background</item> |
| <item name="android:paddingHorizontal">@dimen/bottom_sheet_button_padding_horizontal</item> |
| <item name="android:paddingVertical">@dimen/bottom_sheet_button_padding_vertical</item> |
| <item name="android:stateListAnimator">@anim/bottom_sheet_button_state_list_animator</item> |
| </style> |
| |
| <!-- The style for log access consent button --> |
| <style name="LogAccessDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog.Alert"> |
| <item name="permissionGrantButtonTopStyle">?android:buttonBarButtonStyle</item> |
| <item name="permissionGrantButtonBottomStyle">?android:buttonBarButtonStyle</item> |
| </style> |
| |
| <style name="PipTheme" parent="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:backgroundDimEnabled">false</item> |
| <item name="android:windowDisablePreview">true</item> |
| </style> |
| |
| <style name="TvSidePanelTheme"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:backgroundDimEnabled">false</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowContentOverlay">@null</item> |
| <item name="android:windowIsFloating">true</item> |
| </style> |
| </resources> |