<!--
    Created by Angel Leon (@gubatron), Alden Torres (aldenml)
    Copyright (c) 2011-2026, FrostWire(R). All rights reserved.

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

    This program 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 General Public License for more details.

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

<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Shortcut Activity theme -->
    <style name="Theme.Transparent" parent="@android:style/Theme.Holo.NoActionBar">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</item>
    </style>

    <!-- Notification bar event text -->
    <style name="NotificationText">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:ellipsize">end</item>
        <item name="android:fadingEdge">horizontal</item>
        <item name="android:singleLine">true</item>
    </style>

    <!-- Notification bar actions -->
    <style name="NotificationAction">
        <item name="android:layout_width">@dimen/notification_action_width</item>
        <item name="android:layout_height">@dimen/notification_action_height</item>
        <item name="android:gravity">center|right</item>
        <item name="android:scaleType">fitCenter</item>
        <item name="android:padding">@dimen/notification_action_padding</item>
        <item name="android:background">?android:selectableItemBackground</item>
    </style>

    <style name="NotificationAction.Previous" parent="@style/NotificationAction">
        <item name="android:src">@drawable/btn_notification_playback_previous</item>
        <item name="android:visibility">gone</item>
        <item name="tint">@color/app_icon_primary</item>
        <item name="android:contentDescription">@string/accessibility_prev</item>
    </style>

    <style name="NotificationAction.Play" parent="@style/NotificationAction">
        <item name="android:src">@drawable/btn_notification_playback_play</item>
        <item name="tint">@color/app_icon_primary</item>
        <item name="android:contentDescription">@string/accessibility_play</item>
    </style>

    <style name="NotificationAction.Next" parent="@style/NotificationAction">
        <item name="android:src">@drawable/btn_notification_playback_next</item>
        <item name="android:contentDescription">@string/accessibility_next</item>
        <item name="tint">@color/app_icon_primary</item>
    </style>

    <style name="NotificationAction.Collapse" parent="@style/NotificationAction">
        <item name="android:src">@drawable/btn_notification_collapse</item>
        <item name="tint">@color/app_icon_primary</item>
    </style>

    <!-- Bottom Action Bar TextViews -->
    <style name="BottomActionBarText">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:ellipsize">end</item>
        <item name="android:paddingLeft">5dp</item>
        <item name="android:gravity">top|left|center</item>
        <item name="android:singleLine">true</item>
        <item name="android:textAllCaps">true</item>
        <item name="android:textSize">@dimen/text_size_extra_micro</item>
    </style>

    <style name="BottomActionBarLineOne" parent="@style/BottomActionBarText">
        <item name="android:textStyle">bold</item>
    </style>

    <style name="BottomActionBarLineTwo" parent="@style/BottomActionBarText"></style>

    <!-- Bottom Action Bar Image Buttons -->
    <style name="BottomActionBarItem">
        <item name="android:layout_weight">1</item>
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:gravity">center|right</item>
        <item name="android:paddingLeft">@dimen/bottom_action_bar_item_padding_left</item>
        <item name="android:paddingRight">@dimen/bottom_action_bar_item_padding_right</item>
        <item name="android:scaleType">centerInside</item>
    </style>

    <style name="BottomActionBarItem.Previous" parent="@style/BottomActionBarItem">
        <item name="android:contentDescription">@string/accessibility_prev</item>
    </style>

    <style name="BottomActionBarItem.Next" parent="@style/BottomActionBarItem">
        <item name="android:contentDescription">@string/accessibility_next</item>
    </style>

    <style name="BottomActionBarItem.Play" parent="@style/BottomActionBarItem">
        <item name="android:contentDescription">@string/accessibility_play</item>
    </style>

    <style name="BottomActionBarItem.Shuffle" parent="@style/BottomActionBarItem">
        <item name="android:contentDescription">@string/accessibility_shuffle</item>
    </style>

    <style name="BottomActionBarItem.Repeat" parent="@style/BottomActionBarItem">
        <item name="android:contentDescription">@string/accessibility_repeat</item>
    </style>

</resources>
