<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical">

    <com.google.android.material.tabs.TabLayout
        android:id="@+id/dev_settings_tabs"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:tabMode="fixed"
        app:tabGravity="fill" />

    <FrameLayout
        android:id="@+id/dev_settings_tab_host"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">

        <include
            android:id="@+id/dev_panel_settings"
            layout="@layout/activity_dev_settings_panel"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

        <include
            android:id="@+id/dev_panel_diagnostics"
            layout="@layout/activity_dev_diagnostics_panel"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone" />

        <include
            android:id="@+id/dev_panel_network_selftest"
            layout="@layout/activity_dev_network_selftest_panel"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone" />
    </FrameLayout>
</LinearLayout>
