<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="Widget" />
    <style name="Widget.Syncthing" />

    <!-- Widget styles -->
    <eat-comment />

    <style name="Widget.Syncthing.ListView" parent="Widget.AppCompat.ListView">
        <item name="android:paddingTop">8dp</item>
        <item name="android:paddingBottom">8dp</item>
        <item name="android:clipToPadding">false</item>
        <item name="android:scrollbarStyle">outsideOverlay</item>
        <item name="divider">@android:color/transparent</item>
    </style>

    <style name="Widget.Syncthing.TextView" />

    <style name="Widget.Syncthing.TextView.Label" parent="@android:style/Widget.TextView">
        <item name="android:background">?selectableItemBackground</item>
        <item name="android:drawablePadding">32dp</item>
        <item name="android:gravity">start|center_vertical</item>
        <item name="android:textAppearance">@style/TextAppearance.AppCompat.Body1</item>
        <item name="android:paddingLeft">@dimen/abc_action_bar_content_inset_material</item>
        <item name="android:paddingRight">@dimen/abc_action_bar_content_inset_material</item>
    </style>

    <style name="Widget.Syncthing.TextView.Label.Details">
        <item name="android:textColor">?attr/editTextColor</item>
        <item name="android:minHeight">56dp</item>
        <item name="android:paddingTop">8dp</item>
        <item name="android:paddingBottom">8dp</item>
    </style>

    <style name="Widget.Syncthing.TextView.Label.Details.WifiSsidList">
        <item name="android:paddingLeft">4dp</item>
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="Widget.Syncthing.TextView.Label.Details.DeviceList">
        <item name="android:paddingLeft">4dp</item>
        <item name="android:minHeight">48dp</item>
    </style>

    <style name="Widget.Syncthing.TextView.Label.Details.Field">
        <item name="android:background">@null</item>
    </style>

    <style name="Widget.Syncthing.DrawerArrowToggle" parent="Widget.AppCompat.DrawerArrowToggle">
        <item name="spinBars">false</item>
        <item name="color">@android:color/white</item>
    </style>

    <!-- Text appearances -->
    <eat-comment />

    <style name="TextAppearance.Syncthing.ListItemPrimary" parent="TextAppearance.AppCompat.Subhead">
        <item name="android:textColor">?android:textColorPrimary</item>
    </style>

    <style name="TextAppearance.Syncthing.ListItemSecondary" parent="TextAppearance.AppCompat.Body1">
        <item name="android:textColor">?android:textColorSecondary</item>
    </style>

    <style name="TextAppearance.Syncthing.ListItemSmall" parent="TextAppearance.AppCompat.Caption" />

    <style name="Widget.Syncthing.TextView.SpinnerItem" parent="Widget.AppCompat.TextView.SpinnerItem">
        <item name="android:textSize">18sp</item>
        <item name="android:paddingTop">5dp</item>
        <item name="android:paddingBottom">5dp</item>
    </style>

    <!-- SegmentedButton -->
    <style name="TextViewStyleSegmentedButtonHeader">
        <item name="android:textSize">13sp</item>
        <item name="android:textColor">#FFFFFFFF</item>
        <item name="android:textStyle">bold</item>
    </style>

    <style name="progressBarBlue" parent="@style/Theme.AppCompat">
        <item name="colorAccent">@color/text_blue</item>
    </style>
</resources>
