<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="47dp"
    android:orientation="horizontal"
    android:gravity="center_vertical">

    <ImageButton
        android:id="@+id/app_icon"
        android:layout_width="35dp"
        android:layout_height="35dp"
        android:contentDescription="@string/cd_app_icon"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="4dp"
        android:scaleType="fitCenter"
        app:srcCompat="@drawable/foreground" />


    <TextView
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:textSize="22dp"
        android:layout_marginTop="-2dp"
        android:fontFamily="@font/inter_light"
        android:text="Grayjay"
        android:textColor="@color/white"
        android:gravity="center_vertical"
        android:layout_marginStart="8dp"/>

    <Space
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1" />

    <!--Back Button-->
    <com.futo.platformplayer.views.casting.CastButton
        android:id="@+id/button_cast"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:contentDescription="@string/cd_cast_button"
        android:paddingStart="16dp"
        android:paddingEnd="12dp"
        android:paddingTop="12dp"
        android:paddingBottom="13dp"
        android:scaleType="fitCenter"
        app:srcCompat="@drawable/ic_cast_white_25dp" />

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/button_notifs">
        <ImageButton
            android:id="@+id/button_notifs_icon"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:contentDescription="@string/cd_button_notifs"
            android:paddingStart="12dp"
            android:paddingEnd="12dp"
            android:paddingTop="11dp"
            android:paddingBottom="10dp"
            android:scaleType="fitCenter"
            android:clickable="false"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:srcCompat="@drawable/ic_notifications" />
        <TextView
            android:id="@+id/button_notifs_count"
            android:layout_width="18dp"
            android:layout_height="18dp"
            android:text="5"
            android:textSize="12dp"
            android:textAlignment="center"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            android:background="@drawable/background_primary_round_20dp"
            android:layout_marginTop="3dp"
            android:layout_marginRight="5dp"
            android:clickable="false"
            />
    </androidx.constraintlayout.widget.ConstraintLayout>

    <!--Back Button-->
    <ImageButton
        android:id="@+id/button_search"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:contentDescription="@string/cd_button_search"
        android:paddingStart="5dp"
        android:paddingEnd="12dp"
        android:paddingTop="11dp"
        android:paddingBottom="10dp"
        android:scaleType="fitCenter"
        app:srcCompat="@drawable/ic_search_300w" />
</LinearLayout>