<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="@drawable/bg_settings_gradient"
    android:fitsSystemWindows="true"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <com.google.android.material.appbar.AppBarLayout
        android:background="@android:color/transparent"
        android:fitsSystemWindows="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:liftOnScroll="false">
        <com.google.android.material.appbar.MaterialToolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            app:navigationIcon="@drawable/ic_arrow_back"
            app:navigationIconTint="@color/mobile_on_surface"
            app:title="@string/settings_layout"
            app:titleTextColor="@color/mobile_on_surface"/>
    </com.google.android.material.appbar.AppBarLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:layout_behavior="@string/appbar_scrolling_view_behavior">
        <com.google.android.material.tabs.TabLayout
            android:id="@+id/tab_layout"
            android:background="@android:color/transparent"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:tabIndicatorColor="?attr/colorAccentPrimary"
            app:tabMode="fixed"
            app:tabSelectedTextColor="@android:color/white"
            app:tabTextColor="@color/mobile_on_surface_variant"/>
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rows_recycler_view"
            android:clipToPadding="false"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:paddingVertical="@dimen/spacing_sm_mobile"/>
        <LinearLayout
            android:orientation="horizontal"
            android:padding="@dimen/spacing_md_mobile"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <com.google.android.material.button.MaterialButton
                android:id="@+id/btn_add_trakt"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:text="@string/action_add_row"
                android:layout_weight="1"
                android:layout_marginEnd="@dimen/spacing_sm_mobile"
                style="@style/Widget.Strmr.Button.Outlined"/>
            <com.google.android.material.button.MaterialButton
                android:id="@+id/btn_reset"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:text="@string/action_reset"
                android:layout_weight="1"
                style="@style/Widget.Strmr.Button.Outlined"/>
        </LinearLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="@dimen/content_bottom_inset_behind_nav"/>
    </LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
