1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2018 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<resources> 18 <!-- Deprecated: ActionBars are clunky and Toolbar (along with Dialer.ThemeBase.NoActionBar) 19 should be used in favor--> 20 <style name="Dialer.Dark.ThemeBase.ActionBar"> 21 <!-- These are used to style all actionbars in Dialer. These aren't needed in Dialer.ThemeBase.NoActionBar --> 22 <item name="actionBarStyle">@style/DialerActionBarBaseStyle</item> 23 <item name="actionBarSize">@dimen/action_bar_height</item> 24 </style> 25 26 <style name="Dialer.Dark.ThemeBase.NoActionBar"> 27 <!-- Copied from Theme.AppCompat.Light.NoActionBar. We can remove this and update the Dialer 28 base style once none of our activities depend on ActionBar anymore. --> 29 <item name="windowActionBar">false</item> 30 <item name="windowNoTitle">true</item> 31 </style> 32 33 <!-- Activities and Applications should inherit from one of the themes above. --> 34 <style name="Dialer.Dark.ThemeBase"> 35 <!-- These values should be used to color all backgrounds. --> 36 <item name="android:colorBackground">@color/google_grey_900</item> 37 <item name="android:colorBackgroundFloating">@color/google_grey_800</item> 38 39 <!-- These values should be used to set text color. --> 40 <!-- swap text colors. --> 41 <item name="android:textColorPrimary">@color/dialer_dark_primary_text_color</item> 42 <item name="android:textColorSecondary">@color/dialer_dark_secondary_text_color</item> 43 <item name="android:textColorPrimaryInverse">@color/dialer_primary_text_color</item> 44 <item name="android:textColorSecondaryInverse">@color/dialer_secondary_text_color</item> 45 <item name="android:textColorHint">@color/google_grey_600</item> 46 47 <!-- These will be automatically used to color most Appcompat/Material widgets. --> 48 <item name="android:colorPrimary">@color/dialer_dark_theme_color</item> 49 <item name="colorPrimary">@color/dialer_dark_theme_color</item> 50 <item name="android:colorPrimaryDark">@color/dialer_dark_theme_color_dark</item> 51 <item name="colorPrimaryDark">@color/dialer_dark_theme_color_dark</item> 52 <item name="android:colorAccent">@color/dialer_dark_secondary_color</item> 53 <item name="colorAccent">@color/dialer_dark_secondary_color</item> 54 55 <!-- Used to automatically style check/selected checkbox, switches and radio buttons --> 56 <item name="colorControlActivated">?android:attr/colorPrimary</item> 57 58 <!-- Dialer specific attributes. --> 59 <item name="colorIcon">?android:attr/textColorSecondary</item> 60 <item name="colorIconSecondary">?android:attr/textColorSecondary</item> 61 <item name="colorTextOnUnthemedDarkBackground">@android:color/white</item> 62 <item name="colorIconOnUnthemedDarkBackground">@android:color/white</item> 63 <item name="colorPrimary20pct">@color/dialer_dark_theme_color_20pct</item> 64 </style> 65</resources>