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

    <com.google.android.material.tabs.TabLayout
        android:id="@+id/hr_settings_tab_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

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

            <include
                android:id="@+id/hr_settings_limits"
                layout="@layout/fragment_heart_rate_settings_limit" />

            <include
                android:id="@+id/hr_settings_zones"
                layout="@layout/fragment_heart_rate_settings_zones" />
            <Button
                android:id="@+id/save_hr_zones_settings"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/save_configuration" />
        </LinearLayout>
    </ScrollView>

</LinearLayout>