<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout 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="match_parent"
    android:padding="8dp">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/txt_download_item_name"
        android:ellipsize="end"
        android:maxLines="1"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:layout_alignParentStart="true"
        android:layout_toLeftOf="@+id/download_ibtn_download"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/download_txt_item_acronym"
        android:paddingTop="4dp"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:layout_alignParentStart="true"
        android:layout_below="@+id/txt_download_item_name"/>

    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/ic_action_download"
        android:layout_alignParentEnd="true"
        android:id="@+id/download_ibtn_download"
        style="@style/AppBaseTheme.Borderless" />

    <com.todddavies.components.progressbar.ProgressWheel
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_alignParentEnd="true"
        android:visibility="gone"
        android:id="@+id/download_prg_download"
        app:rimWidth="0dp"
        app:barWidth="4dp" />

</RelativeLayout>