<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:paddingTop="3dp">

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/uploadListGroupName"
        style="?android:attr/listSeparatorTextViewStyle"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:divider="@null"
        android:dividerHeight="0dp"
        android:ellipsize="middle"
        android:paddingStart="@dimen/activity_horizontal_margin"
        android:showDividers="none"
        android:textColor="@color/color_accent"
        app:layout_constraintBottom_toTopOf="@id/uploadListGroupButtonClear"
        app:layout_constraintEnd_toStartOf="@id/textViewFileCount"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="Uploaded" />

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/textViewFileCount"
        style="?android:attr/listSeparatorTextViewStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:paddingEnd="@dimen/activity_horizontal_margin"
        app:layout_constraintBottom_toBottomOf="@id/uploadListGroupName"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="5 Files" />

    <androidx.appcompat.widget.AppCompatButton
        android:id="@+id/uploadListGroupButtonClear"
        style="@style/Button.Primary"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:visibility="gone"
        android:layout_marginStart="13dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/uploadListGroupName"
        android:text="@string/action_upload_clear"
        tools:visibility="visible" />

    <androidx.appcompat.widget.AppCompatButton
        android:id="@+id/uploadListGroupButtonRetry"
        style="@style/Button.Primary"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:visibility="gone"
        app:layout_constraintStart_toEndOf="@id/uploadListGroupButtonClear"
        app:layout_constraintTop_toBottomOf="@id/uploadListGroupName"
        android:text="@string/action_upload_retry"
        tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>
