John Spurlock | 2ebc54e | 2014-07-20 12:21:34 -0400 | [diff] [blame] | 1 | <?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 Chiang | bfa34ee | 2020-08-25 15:50:09 +0800 | [diff] [blame] | 19 | <style name="PickerDialogTheme" |
| 20 | parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> |
Ivan Chiang | d6828c1 | 2020-06-11 17:37:51 +0800 | [diff] [blame] | 21 | <item name="android:windowNoTitle">true</item> |
John Spurlock | 2ebc54e | 2014-07-20 12:21:34 -0400 | [diff] [blame] | 22 | </style> |
| 23 | |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 24 | <style name="AlertDialogTheme" |
Ivan Chiang | bfa34ee | 2020-08-25 15:50:09 +0800 | [diff] [blame] | 25 | parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/> |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 26 | |
shafik | f9f900a | 2020-06-29 14:41:58 +0100 | [diff] [blame] | 27 | <style name="CacheClearingAlertDialogTheme" |
Ivan Chiang | bfa34ee | 2020-08-25 15:50:09 +0800 | [diff] [blame] | 28 | parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 29 | <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 Chiang | f0fd46a | 2020-06-12 18:37:57 +0800 | [diff] [blame] | 38 | <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 Chiang | 5e2efcb | 2021-03-23 16:04:23 +0800 | [diff] [blame] | 43 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
Ivan Chiang | f0fd46a | 2020-06-12 18:37:57 +0800 | [diff] [blame] | 44 | <item name="android:textSize">16sp</item> |
Ivan Chiang | 8011618 | 2020-07-22 15:35:42 +0800 | [diff] [blame] | 45 | <item name="android:textStyle">bold</item> |
Ivan Chiang | f0fd46a | 2020-06-12 18:37:57 +0800 | [diff] [blame] | 46 | </style> |
| 47 | |
Ivan Chiang | 5e2efcb | 2021-03-23 16:04:23 +0800 | [diff] [blame] | 48 | <style name="PermissionAlertDialogTitle" |
| 49 | parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
| 50 | <item name="android:textColor">?android:attr/textColorPrimary</item> |
| 51 | </style> |
Ivan Chiang | e89a1a4 | 2021-04-27 13:57:25 +0800 | [diff] [blame] | 52 | |
| 53 | <style name="PickerDefaultTheme" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar"> |
| 54 | <!-- Color section --> |
Ivan Chiang | b7afd1c | 2021-05-25 10:37:08 +0800 | [diff] [blame] | 55 | <item name="android:colorAccent">@color/picker_primary_color</item> |
Ivan Chiang | 010d88a | 2021-06-25 18:51:04 +0800 | [diff] [blame] | 56 | <item name="android:colorBackground">@color/picker_background_color</item> |
Ivan Chiang | e89a1a4 | 2021-04-27 13:57:25 +0800 | [diff] [blame] | 57 | |
| 58 | <!-- System | Widget section --> |
| 59 | <item name="android:statusBarColor">?android:colorBackground</item> |
| 60 | <item name="android:navigationBarColor">?android:colorBackground</item> |
| 61 | <item name="android:windowBackground">?android:colorBackground</item> |
Ivan Chiang | e89a1a4 | 2021-04-27 13:57:25 +0800 | [diff] [blame] | 62 | </style> |
| 63 | |
John Spurlock | 2ebc54e | 2014-07-20 12:21:34 -0400 | [diff] [blame] | 64 | </resources> |