ja meti o droplist nos medicamentos

This commit is contained in:
2026-04-14 17:14:37 +01:00
parent 990eb94142
commit cbfb87d052
425 changed files with 18569 additions and 18023 deletions

View File

@@ -5,25 +5,49 @@
android:orientation="vertical"
android:padding="24dp">
<com.google.android.material.textfield.TextInputLayout
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nome do Medicamento"
android:layout_marginBottom="16dp">
android:layout_height="wrap_content">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edit_med_name"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textCapWords" />
</com.google.android.material.textfield.TextInputLayout>
android:orientation="vertical">
<TextView
android:text="Horário"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:layout_marginBottom="4dp"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/layout_med_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:hint="Nome do Medicamento"
android:layout_marginBottom="8dp">
<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"/>
<!-- O resto do conteúdo do diálogo continua aqui em baixo -->
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_search_results"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="60dp"
android:visibility="gone"
android:elevation="8dp"
android:background="@drawable/bg_search_results" />
</FrameLayout>
<TextView
android:id="@+id/text_med_time"

View File

@@ -0,0 +1,16 @@
<?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="12dp">
<TextView
android:id="@+id/text_pill_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textStyle="bold"
android:textColor="@color/primary_color" />
</LinearLayout>