| <?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="CacheClearingAlertDialogTitle" |
| parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">wrap_content</item> |
| <item name="android:gravity">center</item> |
| <item name="android:textColor">?android:attr/textColorPrimary</item> |
| <item name="android:textSize">16sp</item> |
| <item name="android:textStyle">bold</item> |
| </style> |
| |
| <style name="PermissionAlertDialogTitle" |
| parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"> |
| <item name="android:textColor">?android:attr/textColorPrimary</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">@color/picker_profile_dialog_icon_and_button_color</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="@style/Theme.MaterialComponents.DayNight.NoActionBar"> |
| <!-- Color section --> |
| <item name="android:colorAccent">@color/picker_primary_color</item> |
| <item name="android:colorBackground">@color/picker_background_color</item> |
| |
| <!-- System | Widget section --> |
| <item name="android:statusBarColor">@android:color/transparent</item> |
| <item name="android:navigationBarColor">?android:colorBackground</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:backgroundDimEnabled">true</item> |
| <item name="materialAlertDialogTheme">@style/ProfileDialogTheme</item> |
| </style> |
| |
| </resources> |