<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_marginBottom="8dp"
        app:layout_constraintBottom_toTopOf="@id/tv_copyright"
        app:layout_constraintTop_toTopOf="parent">

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

            <com.jumper.sdk.demo.ui.widget.DeviceCard
                android:id="@+id/card_scale"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:device_image="@drawable/ic_weight"
                app:device_name="@string/device_item_scale" />

            <com.jumper.sdk.demo.ui.widget.DeviceCard
                android:id="@+id/card_oximeter"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:device_image="@drawable/ic_oxygen"
                app:device_name="@string/device_item_oximeter" />

            <com.jumper.sdk.demo.ui.widget.DeviceCard
                android:id="@+id/card_sphygmomanometer"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:device_image="@drawable/ic_pressure"
                app:device_name="@string/device_item_sphygmomanometer" />

            <com.jumper.sdk.demo.ui.widget.DeviceCard
                android:id="@+id/card_thermometer"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:device_image="@drawable/ic_temperature"
                app:device_name="@string/device_item_thermometer" />

            <com.jumper.sdk.demo.ui.widget.DeviceCard
                android:id="@+id/card_fetal_heart"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:device_image="@drawable/ic_heart_rate"
                app:device_name="@string/device_item_fetal_doppler" />

            <com.jumper.sdk.demo.ui.widget.DeviceCard
                android:id="@+id/card_tens"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:device_image="@drawable/ic_therapy"
                app:device_name="@string/device_item_therapy" />
        </LinearLayout>

    </ScrollView>

    <TextView
        android:id="@+id/tv_copyright"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="16dp"
        android:text="@string/app_copyright"
        android:textAppearance="@style/TextAppearance.Material3.LabelSmall"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>