<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
    <style name="UnifiedEmailTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
        <item name="android:actionBarStyle">@style/ActionBarStyle</item>
        <item name="android:actionBarWidgetTheme">@style/ActionBarWidgetTheme</item>
        <item name="android:actionModeBackground">@color/action_mode_background</item>
        <item name="android:actionOverflowButtonStyle">@style/ActionBarOverflowButtonStyle</item>
        <item name="android:homeAsUpIndicator">@drawable/ic_arrow_back_wht_24dp_with_rtl</item>
        <item name="android:listViewWhiteStyle">@android:style/Widget.Holo.Light.ListView</item>
    </style>

    <style name="ActionBarWidgetTheme" parent="@android:style/Theme.Holo">
        <item name="android:dropDownListViewStyle">@style/ActionBarDividerlessListViewStyle</item>
        <item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.ListPopupWindow</item>
        <item name="android:textAppearanceLargePopupMenu">@style/ActionBarTextAppearanceLargeStyle</item>
        <item name="android:textAppearanceSmallPopupMenu">@style/ActionBarTextAppearanceSmallStyle</item>
    </style>

    <style name="UnifiedEmailTheme.Appcompat" parent="@style/Theme.AppCompat.Light.DarkActionBar">
        <item name="actionModeBackground">@color/action_mode_background</item>
        <item name="colorPrimary">@color/primary_color</item>
        <item name="colorPrimaryDark">@color/primary_dark_color</item>
        <item name="colorAccent">@color/accent_blue</item>
        <item name="android:colorEdgeEffect">@color/edge_effect_color</item>
        <item name="homeAsUpIndicator">@drawable/ic_arrow_back_wht_24dp_with_rtl</item>
    </style>

    <style name="UnifiedEmailTheme.Appcompat.Toolbar" parent="@style/Theme.AppCompat.Light.NoActionBar">
        <item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
        <item name="actionModeBackground">@color/action_mode_background</item>
        <item name="colorPrimary">@color/primary_color</item>
        <item name="colorPrimaryDark">@color/primary_dark_color</item>
        <item name="colorAccent">@color/accent_blue</item>
        <item name="android:colorEdgeEffect">@color/edge_effect_color</item>
        <item name="homeAsUpIndicator">@drawable/ic_arrow_back_wht_24dp_with_rtl</item>
        <item name="windowActionModeOverlay">true</item>
        <!-- Tell SystemUI that our activity window will draw the background for the status bar. -->
        <item name="android:windowDrawsSystemBarBackgrounds" tools:ignore="NewApi">true</item>
        <!-- Set the status bar to fully transparent. We’ll draw it ourselves since we want to draw other content over it. -->
        <item name="android:statusBarColor" tools:ignore="NewApi">@color/mail_activity_status_bar_color</item>
    </style>

    <style name="MailActivityTheme" parent="@style/UnifiedEmailTheme.Appcompat.Toolbar" />

    <style name="ComposeTheme" parent="@style/UnifiedEmailTheme.Appcompat">
        <item name="android:colorBackground">@android:color/white</item>
        <item name="android:colorBackgroundCacheHint">@android:color/white</item>
        <item name="android:dropDownListViewStyle">@style/ComposeDropdownListViewStyle</item>
        <item name="android:windowBackground">@android:color/white</item>
    </style>

    <style name="ComposeDropdownListViewStyle" parent="@style/Widget.AppCompat.Light.ListView.DropDown">
        <item name="android:divider">@null</item>
        <item name="android:dividerHeight">0dp</item>
    </style>

    <style name="VacationResponderTheme" parent="@style/UnifiedEmailTheme.Appcompat">
        <item name="actionBarStyle">@style/VacationResponderActionBarStyle</item>
    </style>

    <style name="ShortcutWidgetTheme" parent="@style/UnifiedEmailTheme.Appcompat" />

    <style name="InvisibleShortcutWidgetTheme" parent="@style/ShortcutWidgetTheme">
        <item name="android:windowNoDisplay">true</item>
    </style>

    <style name="Theme.AppCompat.Translucent">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation</item>
    </style>

    <style name="MailPhotoViewTheme" parent="@style/PhotoViewTheme">
        <item name="colorPrimary">@color/primary_color</item>
        <item name="android:colorEdgeEffect">@color/edge_effect_color</item>
    </style>

</resources>