| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2014 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"> |
| |
| <style name="PickerDialogTheme" |
| parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> |
| <item name="android:windowNoTitle">true</item> |
| </style> |
| |
| <style name="AlertDialogTheme" |
| parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/> |
| |
| <style name="CacheClearingAlertDialogTheme" |
| parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowContentOverlay">@null</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowIsFloating">true</item> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="android:alertDialogTheme">@style/AlertDialogTheme</item> |
| </style> |
| |
| <style name="MaterialBorderlessButtonStyle" |
| parent="@style/Widget.MaterialComponents.Button.TextButton"> |
| <item name="android:textAppearance">@style/PickerButtonTextAppearance</item> |
| </style> |
| |
| <style name="MaterialButtonStyle" parent="@style/Widget.MaterialComponents.Button"> |
| <item name="android:textAppearance">@style/PickerButtonTextAppearance</item> |
| </style> |
| |
| <style name="ProfileDialogTheme" |
| parent="@style/ThemeOverlay.MaterialComponents.MaterialAlertDialog.Centered"> |
| <item name="android:dialogCornerRadius">@dimen/picker_profile_dialog_radius</item> |
| <item name="materialAlertDialogTitleTextStyle">@style/MaterialAlertDialogTitleStyle</item> |
| <item name="materialAlertDialogBodyTextStyle">@style/MaterialAlertDialogBodyStyle</item> |
| <item name="materialAlertDialogTitleIconStyle">@style/MaterialAlertDialogIconStyle</item> |
| </style> |
| |
| <style name="MaterialAlertDialogTitleStyle" |
| parent="@style/MaterialAlertDialog.MaterialComponents.Title.Text.CenterStacked"> |
| <item name="android:textAppearance">@style/PickerProfileDialogTitle</item> |
| </style> |
| |
| <style name="MaterialAlertDialogBodyStyle" |
| parent="@style/MaterialAlertDialog.MaterialComponents.Body.Text"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:textAppearance">@style/PickerProfileDialogBody</item> |
| </style> |
| |
| <style name="MaterialAlertDialogIconStyle" |
| parent="@style/MaterialAlertDialog.MaterialComponents.Title.Icon.CenterStacked"> |
| <item name="android:tint">?android:attr/colorAccent</item> |
| <item name="android:layout_width">@dimen/picker_profile_dialog_icon_width</item> |
| <item name="android:layout_height">@dimen/picker_profile_dialog_icon_height</item> |
| </style> |
| |
| <style name="PickerDefaultTheme" parent="@android:style/Theme.DeviceDefault.DayNight"> |
| <!-- System | Widget section --> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="android:navigationBarColor">@color/picker_background_color</item> |
| <item name="android:statusBarColor">@android:color/transparent</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowNoTitle">true</item> |
| </style> |
| |
| <style name="PickerMaterialTheme" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar"> |
| <item name="materialAlertDialogTheme">@style/ProfileDialogTheme</item> |
| <item name="pickerChipBackgroundColor">@color/picker_background_color</item> |
| <item name="pickerHighlightColor">?android:attr/colorAccent</item> |
| <item name="pickerHighlightTextColor">@android:color/white</item> |
| <item name="pickerProfileButtonColor">#E8F0FE</item> |
| <item name="pickerProfileButtonTextColor">#0B57D0</item> |
| <item name="pickerSelectedChipBackgroundColor">#E8F0FE</item> |
| <item name="pickerSelectedChipTextColor">#185ABC</item> |
| <item name="pickerTextColor">?android:attr/textColorPrimary</item> |
| <item name="pickerSelectedColor">?android:attr/colorAccent</item> |
| </style> |
| |
| </resources> |