<?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="wrap_content"
    android:background="@drawable/round_corners"
    android:orientation="vertical"
    style="@style/BottomSheetDialog"
    android:backgroundTint="@color/white">

    <View
        android:id="@+id/dash"
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/black"
        android:layout_marginHorizontal="150dp"
        android:layout_marginTop="15dp"
        />

    <TextView
        android:id="@+id/title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"

        android:text="@string/swipe_down"
        android:fontFamily="@font/nunito_medium"
        android:layout_gravity="center_horizontal"
        android:textColor="@color/black"
        android:textAppearance="@style/TextAppearance.Material3.TitleMedium"

        android:layout_marginHorizontal="15dp"
        android:layout_marginTop="10dp"
        />

<!--    geofence-->
<!--    medication-->
<!--    activity-->
<!--    Medication refill-->

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

        <LinearLayout
            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:gravity="center_vertical"
                android:layout_marginTop="25dp"
                android:layout_marginHorizontal="15dp"
                android:elevation="3dp"
                android:background="@drawable/edit_text_bg_2"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="28dp"
                    android:layout_height="25dp"
                    android:src="@drawable/ic_medicine_outline"
                    android:layout_marginStart="15dp"
                    android:contentDescription="@string/terms_n_conditions"
                    />

                <androidx.appcompat.widget.SwitchCompat
                    android:id="@+id/patient_medication"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center_vertical"

                    android:text="@string/patient_medication"
                    android:fontFamily="@font/nunito_medium"
                    android:textColor="@color/black"
                    android:textSize="@dimen/_14ssp"

                    android:layout_marginVertical="30dp"
                    android:layout_marginHorizontal="15dp"

                    app:switchMinWidth="60dp"
                    app:track="@drawable/switch_track_1"
                    app:thumbTint="@color/color_primary"
                    app:showText="false"
                    />

            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:layout_marginTop="25dp"
                android:layout_marginHorizontal="15dp"
                android:elevation="3dp"
                android:background="@drawable/edit_text_bg_2"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="28dp"
                    android:layout_height="25dp"
                    android:src="@drawable/ic_medicine_outline"
                    android:layout_marginStart="15dp"
                    android:contentDescription="@string/terms_n_conditions"
                    />

                <androidx.appcompat.widget.SwitchCompat
                    android:id="@+id/patient_med_refill"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center_vertical"

                    android:text="@string/patient_medication_refill"
                    android:fontFamily="@font/nunito_medium"
                    android:textColor="@color/black"
                    android:textSize="@dimen/_14ssp"

                    android:layout_marginVertical="30dp"
                    android:layout_marginHorizontal="15dp"

                    app:switchMinWidth="60dp"
                    app:track="@drawable/switch_track_1"
                    app:thumbTint="@color/color_primary"
                    app:showText="false"
                    />

            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:layout_marginTop="25dp"
                android:layout_marginHorizontal="15dp"
                android:elevation="3dp"
                android:background="@drawable/edit_text_bg_2"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="28dp"
                    android:layout_height="25dp"
                    android:src="@drawable/ic_pat_activites"
                    android:layout_marginStart="15dp"
                    android:contentDescription="@string/terms_n_conditions"
                    />

                <androidx.appcompat.widget.SwitchCompat
                    android:id="@+id/patient_activity"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center_vertical"

                    android:text="@string/patient_activities"
                    android:fontFamily="@font/nunito_medium"
                    android:textColor="@color/black"
                    android:textSize="@dimen/_14ssp"

                    android:layout_marginVertical="30dp"
                    android:layout_marginHorizontal="15dp"

                    app:switchMinWidth="60dp"
                    app:track="@drawable/switch_track_1"
                    app:thumbTint="@color/color_primary"
                    app:showText="false"
                    />

            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:layout_marginTop="25dp"
                android:layout_marginHorizontal="15dp"
                android:elevation="3dp"
                android:background="@drawable/edit_text_bg_2"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="28dp"
                    android:layout_height="25dp"
                    android:src="@drawable/ic_location"
                    android:layout_marginStart="15dp"
                    android:contentDescription="@string/terms_n_conditions"
                    />

                <androidx.appcompat.widget.SwitchCompat
                    android:id="@+id/patient_geofence"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center_vertical"

                    android:text="@string/patient_geofence"
                    android:fontFamily="@font/nunito_medium"
                    android:textColor="@color/black"
                    android:textSize="@dimen/_14ssp"

                    android:layout_marginVertical="30dp"
                    android:layout_marginHorizontal="15dp"

                    app:switchMinWidth="60dp"
                    app:track="@drawable/switch_track_1"
                    app:thumbTint="@color/color_primary"
                    app:showText="false"
                    />

            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:layout_marginTop="25dp"
                android:layout_marginHorizontal="15dp"
                android:elevation="3dp"
                android:background="@drawable/edit_text_bg_2"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="28dp"
                    android:layout_height="25dp"
                    android:src="@drawable/ic_sos"
                    android:layout_marginStart="15dp"
                    android:contentDescription="@string/terms_n_conditions"
                    app:tint="@color/black" />

                <androidx.appcompat.widget.SwitchCompat
                    android:id="@+id/patient_sos"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center_vertical"

                    android:text="@string/sos"
                    android:fontFamily="@font/nunito_medium"
                    android:textColor="@color/black"
                    android:textSize="@dimen/_14ssp"
                    android:textAllCaps="true"

                    android:layout_marginVertical="30dp"
                    android:layout_marginHorizontal="15dp"

                    app:switchMinWidth="60dp"
                    app:track="@drawable/switch_track_1"
                    app:thumbTint="@color/color_primary"
                    app:showText="false"
                    />

            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:layout_marginTop="25dp"
                android:layout_marginHorizontal="15dp"
                android:elevation="3dp"
                android:layout_marginBottom="25dp"
                android:background="@drawable/edit_text_bg_2"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="28dp"
                    android:layout_height="25dp"
                    android:src="@drawable/ic_locations_target"
                    android:layout_marginStart="15dp"
                    android:contentDescription="@string/terms_n_conditions"
                    />

                <androidx.appcompat.widget.SwitchCompat
                    android:id="@+id/patient_direction"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_gravity="center_vertical"

                    android:text="@string/direction_requests"
                    android:fontFamily="@font/nunito_medium"
                    android:textColor="@color/black"
                    android:textSize="@dimen/_14ssp"

                    android:layout_marginVertical="30dp"
                    android:layout_marginHorizontal="15dp"

                    app:switchMinWidth="60dp"
                    app:track="@drawable/switch_track_1"
                    app:thumbTint="@color/color_primary"
                    app:showText="false"
                    />

            </LinearLayout>

        </LinearLayout>

    </ScrollView>

</LinearLayout>