Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <resources xmlns:tools="http://schemas.android.com/tools">
      3     <style name="UnifiedEmailTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
      4         <item name="android:actionBarStyle">@style/ActionBarStyle</item>
      5         <item name="android:actionBarWidgetTheme">@style/ActionBarWidgetTheme</item>
      6         <item name="android:actionModeBackground">@color/action_mode_background</item>
      7         <item name="android:actionOverflowButtonStyle">@style/ActionBarOverflowButtonStyle</item>
      8         <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back_wht_24dp_with_rtl</item>
      9         <item name="android:listViewWhiteStyle">@android:style/Widget.Holo.Light.ListView</item>
     10     </style>
     11 
     12     <style name="ActionBarWidgetTheme" parent="@android:style/Theme.Holo">
     13         <item name="android:dropDownListViewStyle">@style/ActionBarDividerlessListViewStyle</item>
     14         <item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.ListPopupWindow</item>
     15         <item name="android:textAppearanceLargePopupMenu">@style/ActionBarTextAppearanceLargeStyle</item>
     16         <item name="android:textAppearanceSmallPopupMenu">@style/ActionBarTextAppearanceSmallStyle</item>
     17     </style>
     18 
     19     <style name="UnifiedEmailTheme.Appcompat" parent="@style/Theme.AppCompat.Light.DarkActionBar">
     20         <item name="actionModeBackground">@color/action_mode_background</item>
     21         <item name="colorPrimary">@color/primary_color</item>
     22         <item name="colorPrimaryDark">@color/primary_dark_color</item>
     23         <item name="colorAccent">@color/accent_blue</item>
     24         <item name="android:colorEdgeEffect">@color/edge_effect_color</item>
     25         <item name="homeAsUpIndicator">@drawable/ic_arrow_back_wht_24dp_with_rtl</item>
     26     </style>
     27 
     28     <style name="UnifiedEmailTheme.Appcompat.Toolbar" parent="@style/Theme.AppCompat.Light.NoActionBar">
     29         <item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
     30         <item name="actionModeBackground">@color/action_mode_background</item>
     31         <item name="colorPrimary">@color/primary_color</item>
     32         <item name="colorPrimaryDark">@color/primary_dark_color</item>
     33         <item name="colorAccent">@color/accent_blue</item>
     34         <item name="android:colorEdgeEffect">@color/edge_effect_color</item>
     35         <item name="homeAsUpIndicator">@drawable/ic_arrow_back_wht_24dp_with_rtl</item>
     36         <item name="windowActionModeOverlay">true</item>
     37         <!-- Tell SystemUI that our activity window will draw the background for the status bar. -->
     38         <item name="android:windowDrawsSystemBarBackgrounds" tools:ignore="NewApi">true</item>
     39         <!-- Set the status bar to fully transparent. Well draw it ourselves since we want to draw other content over it. -->
     40         <item name="android:statusBarColor" tools:ignore="NewApi">@color/mail_activity_status_bar_color</item>
     41     </style>
     42 
     43     <style name="MailActivityTheme" parent="@style/UnifiedEmailTheme.Appcompat.Toolbar" />
     44 
     45     <style name="ComposeTheme" parent="@style/UnifiedEmailTheme.Appcompat">
     46         <item name="android:colorBackground">@android:color/white</item>
     47         <item name="android:colorBackgroundCacheHint">@android:color/white</item>
     48         <item name="android:dropDownListViewStyle">@style/ComposeDropdownListViewStyle</item>
     49         <item name="android:windowBackground">@android:color/white</item>
     50     </style>
     51 
     52     <style name="ComposeDropdownListViewStyle" parent="@style/Widget.AppCompat.Light.ListView.DropDown">
     53         <item name="android:divider">@null</item>
     54         <item name="android:dividerHeight">0dp</item>
     55     </style>
     56 
     57     <style name="VacationResponderTheme" parent="@style/UnifiedEmailTheme.Appcompat">
     58         <item name="actionBarStyle">@style/VacationResponderActionBarStyle</item>
     59     </style>
     60 
     61     <style name="ShortcutWidgetTheme" parent="@style/UnifiedEmailTheme.Appcompat" />
     62 
     63     <style name="InvisibleShortcutWidgetTheme" parent="@style/ShortcutWidgetTheme">
     64         <item name="android:windowNoDisplay">true</item>
     65     </style>
     66 
     67     <style name="Theme.AppCompat.Translucent">
     68         <item name="android:windowBackground">@android:color/transparent</item>
     69         <item name="android:colorBackgroundCacheHint">@null</item>
     70         <item name="android:windowIsTranslucent">true</item>
     71         <item name="android:windowAnimationStyle">@android:style/Animation</item>
     72     </style>
     73 
     74     <style name="MailPhotoViewTheme" parent="@style/PhotoViewTheme">
     75         <item name="colorPrimary">@color/primary_color</item>
     76         <item name="android:colorEdgeEffect">@color/edge_effect_color</item>
     77     </style>
     78 
     79 </resources>
     80