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

    <LinearLayout
        style="@style/AppBarContainer"
        android:orientation="horizontal">

        <FrameLayout
            android:layout_width="@dimen/app_bar_height"
            android:layout_height="@dimen/app_bar_height">

            <ImageView
                style="@style/AppBarIcon"
                android:src="@drawable/ic_arrow_back_white_24dp"
                android:visibility="gone"
                tools:ignore="ContentDescription" />

        </FrameLayout>

        <FrameLayout
            android:layout_width="0px"
            android:layout_height="match_parent"
            android:layout_weight="1">

            <TextView
                style="@style/AppBarTitle"
                android:text="@string/app_name" />

        </FrameLayout>

        <FrameLayout
            android:layout_width="@dimen/app_bar_height"
            android:layout_height="@dimen/app_bar_height">

            <ImageView
                android:id="@+id/app_bar_icon_readme"
                style="@style/AppBarIcon"
                android:src="@mipmap/ic_launcher"
                android:visibility="visible"
                tools:ignore="ContentDescription" />

        </FrameLayout>

    </LinearLayout>

    <ProgressBar
        android:id="@+id/progress_bar"
        style="@android:style/Widget.Material.ProgressBar.Horizontal"
        android:layout_width="match_parent"
        android:layout_height="16dip"
        android:layout_marginTop="-8dip"
        android:layout_marginBottom="-8dip"
        android:indeterminate="true"
        android:visibility="gone"
        tools:visibility="visible" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <io.noties.markwon.app.widget.SearchBar
            android:id="@+id/search_bar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:animateLayoutChanges="true"
            android:padding="@dimen/content_padding" />

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/recycler_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipChildren="false"
            android:clipToPadding="false"
            android:overScrollMode="never"
            android:paddingBottom="36dip" />

    </LinearLayout>

</LinearLayout>