<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    a:id="@+id/now_playing"
    a:layout_width="fill_parent"
    a:layout_height="wrap_content"
    a:background="?attr/colorSecondaryContainer"
    tools:ignore="Overdraw">

    <ImageView
        a:id="@+id/now_playing_image"
        a:layout_width="72.0dip"
        a:layout_height="72.0dip"
        a:layout_marginStart="0dp"
        a:elevation="4dp"
        a:focusable="true"
        a:gravity="center"
        a:importantForAccessibility="no" />

    <LinearLayout
        a:layout_width="0.0dp"
        a:layout_height="wrap_content"
        a:layout_gravity="center_vertical"
        a:layout_weight="1.0"
        a:orientation="vertical"
        a:paddingStart="11.0dip">

        <TextView
            a:id="@+id/now_playing_title"
            a:layout_width="wrap_content"
            a:layout_height="wrap_content"
            a:layout_gravity="start"
            a:ellipsize="marquee"
            a:singleLine="true"
            a:textAppearance="@style/TextAppearance.Material3.TitleLarge"
            a:textSize="20sp"
            tools:text="Title" />

        <TextView
            a:id="@+id/now_playing_artist"
            a:layout_width="wrap_content"
            a:layout_height="wrap_content"
            a:layout_gravity="start"
            a:ellipsize="end"
            a:scrollHorizontally="true"
            a:singleLine="true"
            tools:text="Artist"
            a:textAppearance="@style/TextAppearance.Material3.BodyMedium" />
    </LinearLayout>

    <Button
        a:id="@+id/now_playing_control_play"
        style="@style/Widget.Material3.Button.IconButton"
        a:layout_width="48dp"
        a:layout_height="48dp"
        a:layout_gravity="center|end"
        a:layout_marginEnd="16dip"
        a:layout_weight="0.0"
        a:contentDescription="@string/buttons.play"
        a:focusable="false"
        a:scaleType="fitCenter"
        app:icon="@drawable/media_pause"
        app:iconGravity="textEnd"
        app:iconSize="42dp" />

</LinearLayout>