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

    <com.google.android.material.appbar.MaterialToolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        app:title="@string/transcript" />

    <ProgressBar
        android:id="@+id/progLoading"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:indeterminateOnly="true"
        android:visibility="gone" />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/transcript_list"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:scrollIndicators="right"
        android:scrollbarStyle="outsideInset"
        android:scrollbars="vertical"
        android:layout_weight="1"
        tools:listitem="@layout/transcript_item" />

    <CheckBox
        android:id="@+id/followAudioCheckbox"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="16dp"
        android:text="@string/transcript_follow_audio_label" />

</LinearLayout>
