| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2016 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> |
| |
| <style name="Theme.DeskClock" parent="Theme.AppCompat.NoActionBar"> |
| <item name="android:colorBackgroundFloating">?attr/colorBackgroundFloating</item> |
| <item name="android:navigationBarColor">?attr/colorPrimaryDark</item> |
| <item name="popupTheme">@style/ThemeOverlay.Popup</item> |
| |
| <item name="android:timePickerStyle">@style/Widget.TimePicker</item> |
| <item name="android:windowBackground">@color/default_background</item> |
| <item name="android:windowContentOverlay">@null</item> |
| |
| <item name="colorAccent">@color/accent_color</item> |
| <item name="android:colorSecondary">@color/secondary_color</item> |
| <item name="android:colorForeground">@android:color/system_neutral1_50</item> |
| <item name="colorSurface">@android:color/system_neutral1_500</item> |
| <item name="colorBackgroundFloating">@android:color/system_neutral1_500</item> |
| <item name="colorControlActivated">@android:color/white</item> |
| <item name="colorControlNormal">?android:attr/textColorPrimary</item> |
| <item name="colorPrimaryDark">#00000000</item> |
| <item name="imageButtonStyle">@style/Widget.ImageButton</item> |
| |
| <item name="android:switchStyle">@style/DeskClock.Switch</item> |
| <item name="alertDialogTheme">@style/AlertDialogTheme</item> |
| <item name="snackbarStyle">@style/SnackBarStyle</item> |
| <item name="actionBarSize">64dp</item> |
| </style> |
| |
| <style name="Theme.DeskClock.Settings"> |
| <item name="colorPrimary">@color/default_background</item> |
| <item name="elevationOverlayColor">?attr/colorPrimary</item> |
| <item name="colorControlActivated">?attr/colorAccent</item> |
| <item name="android:switchStyle">@style/DeskClock.Switch</item> |
| <item name="preferenceTheme">@style/Theme.DeskClock.Settings.PreferenceTheme</item> |
| <item name="android:dropDownSpinnerStyle">@style/DeskClock.Settings.DropDownSpinnerStyle</item> |
| </style> |
| |
| <style name="Theme.DeskClock.Settings.PreferenceTheme" parent="@style/PreferenceThemeOverlay"> |
| <item name="switchPreferenceCompatStyle">@style/DeskClock.SwitchPreferenceCompat</item> |
| </style> |
| |
| <style name="Theme.DeskClock.CitySelection"> |
| <!-- Attributes from androidx.appcompat.appcompat --> |
| <item name="actionBarStyle">@style/Widget.ActionBar.NoTitle</item> |
| <item name="windowActionBar">true</item> |
| <item name="windowNoTitle">false</item> |
| </style> |
| |
| <style name="ThemeOverlay.Control.Accent" parent="ThemeOverlay.AppCompat"> |
| <!-- Attributes from androidx.appcompat.appcompat --> |
| <item name="colorControlActivated">?attr/colorAccent</item> |
| </style> |
| |
| <style name="ThemeOverlay.Popup" parent="Widget.AppCompat.PopupMenu"> |
| <item name="android:background">@drawable/popup_background</item> |
| <item name="android:colorBackground">@color/transparent</item> |
| </style> |
| </resources> |