Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2017 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 
     19   <style name="DialerThemeBase" parent="@style/Theme.AppCompat.Light.DarkActionBar">
     20     <item name="android:textColorPrimary">@color/dialer_primary_text_color</item>
     21     <item name="android:textColorSecondary">@color/dialer_secondary_text_color</item>
     22     <!-- This is used for title bar color in recents -->
     23     <item name="android:colorPrimary">@color/titlebar_in_recents_background_color</item>
     24     <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item>
     25     <item name="android:colorControlActivated">@color/dialer_theme_color</item>
     26     <item name="android:colorButtonNormal">@color/dialer_theme_color</item>
     27     <item name="android:colorAccent">@color/dialtacts_theme_color</item>
     28     <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
     29     <item name="android:textAppearanceButton">@style/DialerButtonTextStyle</item>
     30 
     31     <item name="android:actionBarStyle">@style/DialerActionBarBaseStyle</item>
     32     <item name="actionBarStyle">@style/DialerActionBarBaseStyle</item>
     33     <item name="android:actionBarSize">@dimen/action_bar_height</item>
     34     <item name="actionBarSize">@dimen/action_bar_height</item>
     35   </style>
     36 
     37   <!-- Should be kept in sync with the theme above (minus anything related to actionbars -->
     38   <style name="DialerThemeBase.NoActionBar" parent="@style/Theme.AppCompat.Light.NoActionBar">
     39     <item name="android:textColorPrimary">@color/dialer_primary_text_color</item>
     40     <item name="android:textColorSecondary">@color/dialer_secondary_text_color</item>
     41     <!-- This is used for title bar color in recents -->
     42     <item name="android:colorPrimary">@color/titlebar_in_recents_background_color</item>
     43     <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item>
     44     <item name="android:colorControlActivated">@color/dialer_theme_color</item>
     45     <item name="android:colorButtonNormal">@color/dialer_theme_color</item>
     46     <item name="android:colorAccent">@color/dialtacts_theme_color</item>
     47     <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
     48     <item name="android:textAppearanceButton">@style/DialerButtonTextStyle</item>
     49   </style>
     50 
     51   <style name="Theme.AppCompat.Translucent" parent="Theme.AppCompat.NoActionBar">
     52     <item name="android:windowNoTitle">true</item>
     53     <item name="android:windowBackground">@android:color/transparent</item>
     54     <item name="android:colorBackgroundCacheHint">@null</item>
     55     <item name="android:windowIsTranslucent">true</item>
     56     <item name="android:windowAnimationStyle">@android:style/Animation</item>
     57   </style>
     58 
     59   <style name="PrimaryText" parent="TextAppearance.AppCompat">
     60     <item name="android:textColor">#DE000000</item>
     61     <item name="android:textSize">16sp</item>
     62     <item name="android:ellipsize">end</item>
     63     <item name="android:maxLines">1</item>
     64   </style>
     65 
     66   <style name="SecondaryText" parent="TextAppearance.AppCompat">
     67     <item name="android:textColor">#8A000000</item>
     68     <item name="android:textSize">14sp</item>
     69     <item name="android:ellipsize">end</item>
     70     <item name="android:maxLines">1</item>
     71   </style>
     72 
     73   <style name="SubHeader" parent="TextAppearance.AppCompat">
     74     <item name="android:textColor">#212121</item>
     75     <item name="android:textSize">14sp</item>
     76     <item name="android:lineSpacingMultiplier">1.1</item>
     77   </style>
     78 
     79 </resources>
     80