<?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="wrap_content"
    android:orientation="vertical"
    android:padding="24dp">

    <com.google.android.material.textfield.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Nome do Medicamento"
        android:layout_marginBottom="16dp">

        <com.google.android.material.textfield.TextInputEditText
            android:id="@+id/edit_med_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="textCapWords" />
    </com.google.android.material.textfield.TextInputLayout>

    <TextView
        android:text="Horário"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="14sp"
        android:layout_marginBottom="4dp"/>

    <TextView
        android:id="@+id/text_med_time"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="08:00"
        android:textSize="18sp"
        android:padding="12dp"
        android:background="#E0E0E0"
        android:gravity="center"
        android:layout_marginBottom="16dp"/>

    <TextView
        android:text="Via de Administração"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="14sp"
        android:layout_marginBottom="4dp"/>

    <CheckBox
        android:id="@+id/checkbox_oral"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Via Oral (Pela boca)" />

    <CheckBox
        android:id="@+id/checkbox_topical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Via Tópica (Na pele)" />

    <CheckBox
        android:id="@+id/checkbox_inhalatory"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Via Inalatória (Pelo nariz/boca)"
        android:layout_marginBottom="16dp"/>

    <com.google.android.material.textfield.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Notas (Opcional)"
        android:layout_marginBottom="16dp">

        <com.google.android.material.textfield.TextInputEditText
            android:id="@+id/edit_med_notes"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="textMultiLine" 
            android:minLines="2"/>
    </com.google.android.material.textfield.TextInputLayout>

</LinearLayout>
