<resources>

    <!-- Base application theme. -->
    <style name="LightTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimary">@color/light_youtube_primary_color</item>
        <item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
        <item name="colorAccent">@color/light_youtube_accent_color</item>
        <item name="android:windowBackground">@color/light_background_color</item>

        <item name="thumbs_up">@drawable/ic_thumb_up_black_24dp</item>
        <item name="thumbs_down">@drawable/ic_thumb_down_black_24dp</item>
        <item name="audio">@drawable/ic_headset_black_24dp</item>
        <item name="clear_history">@drawable/ic_delete_sweep_white_24dp</item>
        <item name="download">@drawable/ic_file_download_black_24dp</item>
        <item name="share">@drawable/ic_share_black_24dp</item>
        <item name="cast">@drawable/ic_cast_black_24dp</item>
        <item name="rss">@drawable/ic_rss_feed_black_24dp</item>
        <item name="search">@drawable/ic_search_black_24dp</item>
        <item name="close">@drawable/ic_close_black_24dp</item>
        <item name="filter">@drawable/ic_filter_list_black_24dp</item>
        <item name="popup">@drawable/ic_picture_in_picture_black_24dp</item>
        <item name="expand">@drawable/ic_expand_more_black_24dp</item>
        <item name="collapse">@drawable/ic_expand_less_black_24dp</item>
        <item name="volume_off">@drawable/ic_volume_off_black_24dp</item>
        <item name="palette">@drawable/ic_palette_black_24dp</item>
        <item name="language">@drawable/ic_language_black_24dp</item>
        <item name="history">@drawable/ic_history_black_24dp</item>

        <item name="separator_color">@color/light_separator_color</item>
        <item name="contrast_background_color">@color/light_contrast_background_color</item>
        <item name="toolbar_shadow_drawable">@drawable/toolbar_shadow_light</item>
        <item name="colorControlHighlight">@color/light_ripple_color</item>

        <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
    </style>

    <!-- Dark Theme-->
    <style name="DarkTheme" parent="Theme.AppCompat.NoActionBar">
        <item name="colorPrimary">@color/dark_youtube_primary_color</item>
        <item name="colorPrimaryDark">@color/dark_youtube_dark_color</item>
        <item name="colorAccent">@color/dark_youtube_accent_color</item>
        <item name="android:windowBackground">@color/dark_background_color</item>

        <item name="thumbs_up">@drawable/ic_thumb_up_white_24dp</item>
        <item name="thumbs_down">@drawable/ic_thumb_down_white_24dp</item>
        <item name="audio">@drawable/ic_headset_white_24dp</item>
        <item name="clear_history">@drawable/ic_delete_sweep_black_24dp</item>
        <item name="download">@drawable/ic_file_download_white_24dp</item>
        <item name="share">@drawable/ic_share_white_24dp</item>
        <item name="cast">@drawable/ic_cast_white_24dp</item>
        <item name="rss">@drawable/ic_rss_feed_white_24dp</item>
        <item name="search">@drawable/ic_search_white_24dp</item>
        <item name="close">@drawable/ic_close_white_24dp</item>
        <item name="filter">@drawable/ic_filter_list_white_24dp</item>
        <item name="popup">@drawable/ic_picture_in_picture_white_24dp</item>
        <item name="expand">@drawable/ic_expand_more_white_24dp</item>
        <item name="collapse">@drawable/ic_expand_less_white_24dp</item>
        <item name="volume_off">@drawable/ic_volume_off_white_24dp</item>
        <item name="palette">@drawable/ic_palette_white_24dp</item>
        <item name="language">@drawable/ic_language_white_24dp</item>
        <item name="history">@drawable/ic_history_white_24dp</item>

        <item name="separator_color">@color/dark_separator_color</item>
        <item name="contrast_background_color">@color/dark_contrast_background_color</item>
        <item name="toolbar_shadow_drawable">@drawable/toolbar_shadow_dark</item>
        <item name="colorControlHighlight">@color/dark_ripple_color</item>

        <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
    </style>

    <style name="BlackTheme" parent="DarkTheme">
        <item name="android:windowBackground">@color/black_background_color</item>
        <item name="separator_color">@color/black_separator_color</item>
        <item name="contrast_background_color">@color/black_contrast_background_color</item>
    </style>

    <style name="PlayerTheme" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@android:color/black</item>
    </style>

    <style name="Toolbar.Title" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
        <item name="android:textSize">18sp</item>
    </style>


    <style name="RedButton" parent="Widget.AppCompat.Button.Colored">
        <item name="colorButtonNormal">@color/subscribe_background_color</item>
        <item name="android:textColor">@color/subscribe_text_color</item>
        <item name="colorControlHighlight">@color/dark_ripple_color</item>
    </style>

    <style name="VideoPlayerTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="colorPrimary">@color/light_youtube_primary_color</item>
        <item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
        <item name="colorAccent">@color/light_youtube_accent_color</item>
        <item name="android:windowFullscreen">false</item>
        <item name="android:windowActionBarOverlay">true</item>
        <item name="windowActionBarOverlay">true</item>
        <item name="android:actionBarStyle">@style/VideoPlayerActionBarTheme</item>
        <item name="actionBarStyle">@style/VideoPlayerActionBarTheme</item>
        <item name="android:windowBackground">@android:color/black</item>
    </style>

    <style name="VideoPlayerActionBarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid.Inverse">
        <item name="android:displayOptions">showHome</item>
        <item name="displayOptions">showHome</item>
        <item name="android:background">@color/video_overlay_color</item>
        <item name="background">@color/video_overlay_color</item>
    </style>

    <!-- You can also inherit from NNF_BaseTheme.Light -->
    <style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
        <!-- Set these to match your theme -->
        <item name="colorPrimary">@color/light_youtube_primary_color</item>
        <item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
        <item name="colorAccent">@color/light_youtube_accent_color</item>

        <!-- Need to set this also to style create folder dialog -->
        <item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>

        <!-- If you want to set a specific toolbar theme, do it here -->
        <!-- <item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item> -->
    </style>

    <style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Dialog.Alert">
        <item name="colorPrimary">@color/light_youtube_primary_color</item>
        <item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
        <item name="colorAccent">@color/light_youtube_accent_color</item>
    </style>
</resources>
