<!--
    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/>.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="48dp"
    android:background="@color/app_toolbar_background_bottom"
    android:gravity="center_vertical"
    android:orientation="horizontal">

    <ImageView
        android:id="@+id/view_miniplayer_cover"
        android:layout_width="48dp"
        android:layout_height="match_parent"
        android:background="@drawable/default_artwork"
        android:contentDescription="@null"
        android:scaleType="centerCrop" />

    <LinearLayout
        android:id="@+id/view_miniplayer_status_container"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:gravity="center_vertical"
        android:orientation="vertical"
        android:paddingEnd="0dp"
        android:paddingLeft="10dp"
        android:paddingRight="0dp"
        android:paddingStart="10dp">

        <TextView
            android:id="@+id/view_miniplayer_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical|start"
            android:ellipsize="end"
            android:maxLines="1"
            android:text="@string/dummy_title"
            android:textAllCaps="true"
            android:textColor="@color/app_text_white"
            android:textSize="@dimen/text_extra_micro"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/view_miniplayer_artist"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical|start"
            android:ellipsize="end"
            android:maxLines="1"
            android:text="@string/dummy_title"
            android:textAllCaps="true"
            android:textColor="@color/app_text_light"
            android:textSize="@dimen/text_extra_micro" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="end"
        android:orientation="horizontal"
        android:paddingBottom="10dp"
        android:paddingTop="10dp">

        <ImageView
            android:id="@+id/view_miniplayer_previous"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:contentDescription="@null"
            android:paddingEnd="20dp"
            android:paddingLeft="8dp"
            android:paddingRight="20dp"
            android:paddingStart="8dp"
            android:src="@drawable/btn_playback_previous_bottom" />

        <ImageView
            android:id="@+id/view_miniplayer_play_pause"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:background="@drawable/btn_playback_play_bottom"
            android:contentDescription="@null" />

        <ImageView
            android:id="@+id/view_miniplayer_next"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:contentDescription="@null"
            android:paddingEnd="12dp"
            android:paddingLeft="20dp"
            android:paddingRight="12dp"
            android:paddingStart="20dp"
            android:src="@drawable/btn_playback_next_bottom" />
    </LinearLayout>

</LinearLayout>
