e385a89cfa
Bug: 197736823 Test: manual Change-Id: I629a8f911055e47e9c1614923ec9818df9107a9f
63 lines
3.0 KiB
XML
63 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2006 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="volume_dialog_theme" parent="Theme.SystemUI">
|
|
<item name="android:colorAccent">@color/tv_volume_dialog_accent</item>
|
|
<item name="androidprv:textColorOnAccent">@color/tv_volume_dialog_accent</item>
|
|
<item name="android:dialogCornerRadius">@dimen/volume_dialog_panel_width_half</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">left|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/tv_bottom_sheet_button_state_list_animator</item>
|
|
</style>
|
|
</resources>
|