blob: 60e9fae44c1b79a8859a688b164e4f89208c0cb2 [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 Chiangf0fd46a2020-06-12 18:37:57 +080038 <style name="CacheClearingAlertDialogTitle"
39 parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle">
40 <item name="android:layout_width">match_parent</item>
41 <item name="android:layout_height">wrap_content</item>
42 <item name="android:gravity">center</item>
Ivan Chiang5e2efcb2021-03-23 16:04:23 +080043 <item name="android:textColor">?android:attr/textColorPrimary</item>
Ivan Chiangf0fd46a2020-06-12 18:37:57 +080044 <item name="android:textSize">16sp</item>
Ivan Chiang80116182020-07-22 15:35:42 +080045 <item name="android:textStyle">bold</item>
Ivan Chiangf0fd46a2020-06-12 18:37:57 +080046 </style>
47
Ivan Chiang5e2efcb2021-03-23 16:04:23 +080048 <style name="PermissionAlertDialogTitle"
49 parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle">
50 <item name="android:textColor">?android:attr/textColorPrimary</item>
51 </style>
Ivan Chiange89a1a42021-04-27 13:57:25 +080052
53 <style name="PickerDefaultTheme" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar">
54 <!-- Color section -->
Ivan Chiangb7afd1c2021-05-25 10:37:08 +080055 <item name="android:colorAccent">@color/picker_primary_color</item>
Ivan Chiang010d88a2021-06-25 18:51:04 +080056 <item name="android:colorBackground">@color/picker_background_color</item>
Ivan Chiange89a1a42021-04-27 13:57:25 +080057
58 <!-- System | Widget section -->
Abhijeet Kaur911c8f62021-07-07 13:13:09 +010059 <item name="android:statusBarColor">@android:color/transparent</item>
Ivan Chiange89a1a42021-04-27 13:57:25 +080060 <item name="android:navigationBarColor">?android:colorBackground</item>
Abhijeet Kaur911c8f62021-07-07 13:13:09 +010061 <item name="android:windowBackground">@android:color/transparent</item>
62 <item name="android:windowIsTranslucent">true</item>
63 <item name="android:backgroundDimEnabled">true</item>
Ivan Chiange89a1a42021-04-27 13:57:25 +080064 </style>
65
John Spurlock2ebc54e2014-07-20 12:21:34 -040066</resources>