<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- Activity themes -->
    <eat-comment/>

    <style name="Theme.Syncthing.Base" parent="Theme.AppCompat.DayNight.NoActionBar">
        <item name="colorPrimary">@color/primary</item>
        <item name="colorPrimaryDark">@color/primary_dark</item>
        <item name="colorAccent">@color/accent</item>

        <item name="textAppearanceListItemPrimary">@style/TextAppearance.Syncthing.ListItemPrimary</item>
        <item name="textAppearanceListItemSecondary">@style/TextAppearance.Syncthing.ListItemSecondary</item>
        <item name="textAppearanceListItemSmall">@style/TextAppearance.Syncthing.ListItemSmall</item>

        <item name="windowActionModeOverlay">true</item>
        <item name="android:listViewStyle">@style/Widget.Syncthing.ListView</item>
        <item name="android:listDivider">@drawable/list_divider_inset</item>
        <item name="drawerArrowStyle">@style/Widget.Syncthing.DrawerArrowToggle</item>

        <item name="actionBarSize">@dimen/abc_action_bar_default_height_material</item>

        <item name="spinnerStyle">@style/Widget.AppCompat.Spinner.Underlined</item>
        <item name="android:spinnerItemStyle">@style/Widget.Syncthing.TextView.SpinnerItem</item>
        <item name="alertDialogTheme">@style/Theme.Syncthing.Dialog</item>

        <!-- Overridden by themes-v35 -->
    </style>

    <style name="Theme.Syncthing" parent="Theme.Syncthing.Base">
        <!-- DialogTheme produces weird background on 4.4, so we only use it on API 21+ -->
        <item name="alertDialogTheme">@style/Theme.Syncthing.Dialog</item>
    </style>

    <style name="Theme.Syncthing.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>

    <!-- Button themes -->
    <style name="Theme.Syncthing.GreyButton" parent="ThemeOverlay.AppCompat.Light">
        <item name="android:textColor">@color/btn_welcome_slide_color</item>
    </style>

    <!-- Dialog themes -->
    <eat-comment/>

    <style name="Theme.Syncthing.Dialog" parent="Theme.AppCompat.DayNight.Dialog.Alert">
        <item name="colorAccent">@color/primary_dark</item>
    </style>

    <!-- Toolbar themes -->
    <eat-comment/>

    <style name="ThemeOverlay.Syncthing.Toolbar" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
        <item name="android:windowBackground">@null</item>
        <item name="colorAccent">@android:color/white</item>
    </style>
</resources>
