<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <TextView
            android:id="@+id/title"
            style="?textAppearanceHeadlineMedium"
            android:textColor="?android:textColorPrimary"
            android:textSize="16sp"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            android:layout_marginBottom="8dp"
            android:paddingStart="@dimen/material_component_text_fields_padding_above_and_below_label"
            android:paddingEnd="0dp"
            android:layout_marginTop="20dp"
            tools:text="Title"/>

        <com.google.android.material.button.MaterialButton
            android:id="@+id/ext_button"
            style="@style/Widget.MaterialComponents.Button.TextButton"
            android:layout_width="wrap_content"
            android:layout_height="40dp"
            android:layout_marginEnd="16dp"
            android:textAllCaps="false"
            android:textColor="@color/accent_text_btn_color_selector"
            android:visibility="gone"
            tools:visibility="gone"
            app:layout_constraintBaseline_toBaselineOf="@id/title"
            app:layout_constraintBottom_toBottomOf="@id/title"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_bias="1.0"
            app:layout_constraintStart_toEndOf="@id/title"
            app:layout_constraintTop_toTopOf="@id/title"
            app:rippleColor="?colorControlHighlight"
            android:text="@string/update_all" />

        <TextView
            android:id="@+id/ext_sort"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginEnd="12dp"
            android:background="@drawable/square_ripple"
            android:clickable="true"
            android:drawablePadding="6dp"
            android:alpha=".8"
            app:drawableTint="?android:textColorPrimary"
            android:ellipsize="start"
            android:focusable="true"
            android:gravity="center|end"
            android:maxLines="2"
            android:padding="6dp"
            android:textAlignment="textEnd"
            style="?textAppearanceBodyMedium"
            android:textColor="?android:attr/textColorPrimary"
            android:textSize="14sp"
            android:textStyle="normal"
            app:layout_constraintBaseline_toBaselineOf="@id/title"
            app:layout_constraintBottom_toBottomOf="@id/title"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_bias="1.0"
            app:layout_constraintStart_toEndOf="@id/title"
            app:layout_constraintTop_toTopOf="@id/title"
            tools:text="Recently Updated"
            app:drawableEndCompat="@drawable/ic_sort_24dp" />

    </androidx.constraintlayout.widget.ConstraintLayout>

</FrameLayout>
