blob: 04c80e4e8f60f1a4c5fc1398ceb5796d0e01bd28 [file] [log] [blame]
John Spurlock2ebc54e2014-07-20 12:21:34 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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
Ivan Chiangbfa34ee2020-08-25 15:50:09 +080019 <style name="PickerDialogTheme"
20 parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
Ivan Chiangd6828c12020-06-11 17:37:51 +080021 <item name="android:windowNoTitle">true</item>
John Spurlock2ebc54e2014-07-20 12:21:34 -040022 </style>
23
shafik77ed67b2020-02-06 18:27:35 +000024 <style name="AlertDialogTheme"
Ivan Chiangbfa34ee2020-08-25 15:50:09 +080025 parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/>
shafik77ed67b2020-02-06 18:27:35 +000026
shafikf9f900a2020-06-29 14:41:58 +010027 <style name="CacheClearingAlertDialogTheme"
Ivan Chiangbfa34ee2020-08-25 15:50:09 +080028 parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
shafik77ed67b2020-02-06 18:27:35 +000029 <item name="android:windowIsTranslucent">true</item>
30 <item name="android:windowBackground">@android:color/transparent</item>
31 <item name="android:windowContentOverlay">@null</item>
32 <item name="android:windowNoTitle">true</item>
33 <item name="android:windowIsFloating">true</item>
34 <item name="android:backgroundDimEnabled">true</item>
35 <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
36 </style>
37
Ivan Chiang591c3d72021-11-18 17:42:53 +080038 <style name="MaterialBorderlessButtonStyle"
39 parent="@style/Widget.MaterialComponents.Button.TextButton">
40 <item name="android:textAppearance">@style/PickerButtonTextAppearance</item>
41 </style>
42
Ivan Chiangf0e996a2022-01-10 15:20:35 +080043 <style name="MaterialButtonStyle"
44 parent="@style/Widget.MaterialComponents.Button.UnelevatedButton">
Ivan Chiang591c3d72021-11-18 17:42:53 +080045 <item name="android:textAppearance">@style/PickerButtonTextAppearance</item>
46 </style>
47
Abhijeet Kaur359c1d92021-08-17 19:49:00 +010048 <style name="ProfileDialogTheme"
49 parent="@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog.Centered">
50 <item name="android:dialogCornerRadius">@dimen/picker_profile_dialog_radius</item>
51 <item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialogTitleStyle</item>
52 <item name="materialAlertDialogBodyTextStyle">@style/MaterialAlertDialogBodyStyle</item>
53 <item name="materialAlertDialogTitleIconStyle">@style/MaterialAlertDialogIconStyle</item>
54 </style>
55
56 <style name="MaterialAlertDialogTitleStyle"
57 parent="@style/MaterialAlertDialog.MaterialComponents.Title.Text.CenterStacked">
58 <item name="android:textAppearance">@style/PickerProfileDialogTitle</item>
59 </style>
60
61 <style name="MaterialAlertDialogBodyStyle"
62 parent="@style/MaterialAlertDialog.MaterialComponents.Body.Text">
63 <item name="android:layout_width">match_parent</item>
64 <item name="android:layout_height">wrap_content</item>
65 <item name="android:textAppearance">@style/PickerProfileDialogBody</item>
66 </style>
67
68 <style name="MaterialAlertDialogIconStyle"
69 parent="@style/MaterialAlertDialog.MaterialComponents.Title.Icon.CenterStacked">
Ivan Chiang2ee32032021-11-26 17:06:25 +080070 <item name="android:tint">?android:attr/colorAccent</item>
Abhijeet Kaur77ddd702022-02-28 14:13:32 +000071 <item name="android:importantForAccessibility">no</item>
Abhijeet Kaur359c1d92021-08-17 19:49:00 +010072 <item name="android:layout_width">@dimen/picker_profile_dialog_icon_width</item>
73 <item name="android:layout_height">@dimen/picker_profile_dialog_icon_height</item>
74 </style>
75
Ivan Chiang2ee32032021-11-26 17:06:25 +080076 <style name="PickerDefaultTheme" parent="@android:style/Theme.DeviceDefault.DayNight">
Ivan Chiange89a1a42021-04-27 13:57:25 +080077 <!-- System | Widget section -->
Ivan Chiang3d6ce0a2021-10-20 09:47:38 +080078 <item name="android:backgroundDimEnabled">true</item>
Ivan Chiang2ee32032021-11-26 17:06:25 +080079 <item name="android:navigationBarColor">@color/picker_background_color</item>
Abhijeet Kaur911c8f62021-07-07 13:13:09 +010080 <item name="android:statusBarColor">@android:color/transparent</item>
Abhijeet Kaur911c8f62021-07-07 13:13:09 +010081 <item name="android:windowBackground">@android:color/transparent</item>
82 <item name="android:windowIsTranslucent">true</item>
Ivan Chiang3d6ce0a2021-10-20 09:47:38 +080083 <item name="android:windowNoTitle">true</item>
84 </style>
85
86 <style name="PickerMaterialTheme" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar">
Abhijeet Kaur359c1d92021-08-17 19:49:00 +010087 <item name="materialAlertDialogTheme">@style/ProfileDialogTheme</item>
Ivan Chiang10618ea2022-03-04 14:58:17 +080088 <item name="pickerDragBarColor">#DADCE0</item>
Ivan Chiang2ee32032021-11-26 17:06:25 +080089 <item name="pickerHighlightColor">?android:attr/colorAccent</item>
90 <item name="pickerHighlightTextColor">@android:color/white</item>
91 <item name="pickerProfileButtonColor">#E8F0FE</item>
Abhijeet Kaur1ffc69f2022-03-07 15:22:44 +000092 <item name="pickerDisabledProfileButtonColor">@android:color/white</item>
Ivan Chiang2ee32032021-11-26 17:06:25 +080093 <item name="pickerProfileButtonTextColor">#0B57D0</item>
Abhijeet Kaur1ffc69f2022-03-07 15:22:44 +000094 <item name="pickerDisabledProfileButtonTextColor">#42757575</item>
Ivan Chiang725adef2022-01-25 12:47:37 +080095 <item name="pickerSelectedTabBackgroundColor">#E8F0FE</item>
96 <item name="pickerSelectedTabTextColor">#185ABC</item>
Ivan Chiang10618ea2022-03-04 14:58:17 +080097 <item name="pickerTabBackgroundColor">@color/picker_background_color</item>
Ivan Chiang2ee32032021-11-26 17:06:25 +080098 <item name="pickerTextColor">?android:attr/textColorPrimary</item>
99 <item name="pickerSelectedColor">?android:attr/colorAccent</item>
Ivan Chiange89a1a42021-04-27 13:57:25 +0800100 </style>
101
John Spurlock2ebc54e2014-07-20 12:21:34 -0400102</resources>