<?xml version="1.0" encoding="utf-8"?><!--
  This file is part of BOINC.
  http://boinc.berkeley.edu
  Copyright (C) 2020 University of California

  BOINC is free software; you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License
  as published by the Free Software Foundation,
  either version 3 of the License, or (at your option) any later version.

  BOINC is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
-->
<resources>

    <style name="AppBase" parent="Theme.AppCompat.DayNight">
        <item name="colorPrimary">#0288d1</item>
        <item name="colorPrimaryDark">#005b9f</item>
        <item name="colorAccent">#342871</item>
        <item name="colorControlNormal">@color/black</item>
        <item name="actionMenuTextColor">@color/white</item>
        <item name="actionOverflowButtonStyle">@style/BoincActionOverflowButtonStyle</item>
        <item name="toolbarNavigationButtonStyle">@style/BoincActionButtonStyle</item>
        <item name="actionBarStyle">@style/Boinc.ActionBar</item>
    </style>

    <style name="AppTheme" parent="AppBase" />

    <style name="Boinc.ActionBar" parent="@style/Widget.AppCompat.ActionBar">
        <item name="background">@drawable/shape_light_primary_background</item>
        <item name="titleTextStyle">@style/Boinc.ActionBar.Text</item>
    </style>

    <style name="BoincActionButtonStyle" parent="@style/Widget.AppCompat.Toolbar.Button.Navigation">
        <item name="android:tint">@color/white</item>
    </style>

    <!-- This style is where you define the tint color of your overflow menu button -->
    <style name="BoincActionOverflowButtonStyle" parent="@style/Widget.AppCompat.ActionButton.Overflow">
        <item name="android:tint">@color/white</item>
    </style>

    <style name="Boinc.ActionBar.Text" parent="@style/TextAppearance.AppCompat">
        <item name="android:textColor">@color/white</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textSize">20sp</item>
    </style>

    <style name="AppTheme.NoActionBar" parent="AppTheme">
        <item name="windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
    </style>

    <style name="BackgroundDayNight">
        <item name="android:background">@drawable/shape_light_blue_background</item>
    </style>

    <style name="ActionBarDayNight">
        <item name="android:background">@drawable/shape_light_primary_background</item>
    </style>

    <style name="DrawerBackgroundDayNight">
        <item name="android:background">@drawable/navlist_light_selector</item>
    </style>

    <style name="DividerDayNight">
        <item name="android:divider">@color/light_blue</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>
