nao esta a funcionar o recycler view

This commit is contained in:
2026-04-20 15:00:08 +01:00
parent 02bbafb379
commit c95b3c656e
137 changed files with 2734 additions and 2455 deletions

View File

@@ -4,6 +4,7 @@ package com.example.medcuida.pro.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
@@ -23,6 +24,9 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
@NonNull
public final MaterialButton btnChatPaciente;
@NonNull
public final ImageButton btnSairDetalhe;
@NonNull
public final TextView tvEmailPaciente;
@@ -42,12 +46,13 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
public final TextView tvSexoPaciente;
private ActivityDetalhePacienteBinding(@NonNull ConstraintLayout rootView,
@NonNull MaterialButton btnChatPaciente, @NonNull TextView tvEmailPaciente,
@NonNull TextView tvIdadePaciente, @NonNull TextView tvMedicacaoPaciente,
@NonNull TextView tvNomePaciente, @NonNull TextView tvNumeroUtente,
@NonNull TextView tvSexoPaciente) {
@NonNull MaterialButton btnChatPaciente, @NonNull ImageButton btnSairDetalhe,
@NonNull TextView tvEmailPaciente, @NonNull TextView tvIdadePaciente,
@NonNull TextView tvMedicacaoPaciente, @NonNull TextView tvNomePaciente,
@NonNull TextView tvNumeroUtente, @NonNull TextView tvSexoPaciente) {
this.rootView = rootView;
this.btnChatPaciente = btnChatPaciente;
this.btnSairDetalhe = btnSairDetalhe;
this.tvEmailPaciente = tvEmailPaciente;
this.tvIdadePaciente = tvIdadePaciente;
this.tvMedicacaoPaciente = tvMedicacaoPaciente;
@@ -89,6 +94,12 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
break missingId;
}
id = R.id.btn_sair_detalhe;
ImageButton btnSairDetalhe = ViewBindings.findChildViewById(rootView, id);
if (btnSairDetalhe == null) {
break missingId;
}
id = R.id.tv_email_paciente;
TextView tvEmailPaciente = ViewBindings.findChildViewById(rootView, id);
if (tvEmailPaciente == null) {
@@ -126,8 +137,8 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
}
return new ActivityDetalhePacienteBinding((ConstraintLayout) rootView, btnChatPaciente,
tvEmailPaciente, tvIdadePaciente, tvMedicacaoPaciente, tvNomePaciente, tvNumeroUtente,
tvSexoPaciente);
btnSairDetalhe, tvEmailPaciente, tvIdadePaciente, tvMedicacaoPaciente, tvNomePaciente,
tvNumeroUtente, tvSexoPaciente);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));

View File

@@ -0,0 +1,91 @@
// Generated by view binder compiler. Do not edit!
package com.example.medcuida.pro.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.medcuida.pro.R;
import com.google.android.material.card.MaterialCardView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
public final class ItemPacienteBinding implements ViewBinding {
@NonNull
private final MaterialCardView rootView;
@NonNull
public final ImageView imagePaciente;
@NonNull
public final TextView textPacienteEmail;
@NonNull
public final TextView textPacienteNome;
private ItemPacienteBinding(@NonNull MaterialCardView rootView, @NonNull ImageView imagePaciente,
@NonNull TextView textPacienteEmail, @NonNull TextView textPacienteNome) {
this.rootView = rootView;
this.imagePaciente = imagePaciente;
this.textPacienteEmail = textPacienteEmail;
this.textPacienteNome = textPacienteNome;
}
@Override
@NonNull
public MaterialCardView getRoot() {
return rootView;
}
@NonNull
public static ItemPacienteBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static ItemPacienteBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.item_paciente, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static ItemPacienteBinding bind(@NonNull View rootView) {
// The body of this method is generated in a way you would not otherwise write.
// This is done to optimize the compiled bytecode for size and performance.
int id;
missingId: {
id = R.id.image_paciente;
ImageView imagePaciente = ViewBindings.findChildViewById(rootView, id);
if (imagePaciente == null) {
break missingId;
}
id = R.id.text_paciente_email;
TextView textPacienteEmail = ViewBindings.findChildViewById(rootView, id);
if (textPacienteEmail == null) {
break missingId;
}
id = R.id.text_paciente_nome;
TextView textPacienteNome = ViewBindings.findChildViewById(rootView, id);
if (textPacienteNome == null) {
break missingId;
}
return new ItemPacienteBinding((MaterialCardView) rootView, imagePaciente, textPacienteEmail,
textPacienteNome);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_detalhe_paciente" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/activity_detalhe_paciente.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="androidx.constraintlayout.widget.ConstraintLayout"><Targets><Target tag="layout/activity_detalhe_paciente_0" view="androidx.constraintlayout.widget.ConstraintLayout"><Expressions/><location startLine="1" startOffset="0" endLine="143" endOffset="51"/></Target><Target id="@+id/tv_nome_paciente" view="TextView"><Expressions/><location startLine="48" startOffset="20" endLine="54" endOffset="58"/></Target><Target id="@+id/tv_idade_paciente" view="TextView"><Expressions/><location startLine="56" startOffset="20" endLine="62" endOffset="58"/></Target><Target id="@+id/tv_numero_utente" view="TextView"><Expressions/><location startLine="64" startOffset="20" endLine="70" endOffset="58"/></Target><Target id="@+id/tv_sexo_paciente" view="TextView"><Expressions/><location startLine="72" startOffset="20" endLine="78" endOffset="58"/></Target><Target id="@+id/tv_email_paciente" view="TextView"><Expressions/><location startLine="80" startOffset="20" endLine="85" endOffset="48"/></Target><Target id="@+id/tv_medicacao_paciente" view="TextView"><Expressions/><location startLine="114" startOffset="20" endLine="120" endOffset="55"/></Target><Target id="@+id/btn_chat_paciente" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="129" startOffset="4" endLine="141" endOffset="51"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_detalhe_paciente" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/activity_detalhe_paciente.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="androidx.constraintlayout.widget.ConstraintLayout"><Targets><Target tag="layout/activity_detalhe_paciente_0" view="androidx.constraintlayout.widget.ConstraintLayout"><Expressions/><location startLine="1" startOffset="0" endLine="156" endOffset="51"/></Target><Target id="@+id/btn_sair_detalhe" view="ImageButton"><Expressions/><location startLine="11" startOffset="4" endLine="22" endOffset="33"/></Target><Target id="@+id/tv_nome_paciente" view="TextView"><Expressions/><location startLine="61" startOffset="20" endLine="67" endOffset="58"/></Target><Target id="@+id/tv_idade_paciente" view="TextView"><Expressions/><location startLine="69" startOffset="20" endLine="75" endOffset="58"/></Target><Target id="@+id/tv_numero_utente" view="TextView"><Expressions/><location startLine="77" startOffset="20" endLine="83" endOffset="58"/></Target><Target id="@+id/tv_sexo_paciente" view="TextView"><Expressions/><location startLine="85" startOffset="20" endLine="91" endOffset="58"/></Target><Target id="@+id/tv_email_paciente" view="TextView"><Expressions/><location startLine="93" startOffset="20" endLine="98" endOffset="48"/></Target><Target id="@+id/tv_medicacao_paciente" view="TextView"><Expressions/><location startLine="127" startOffset="20" endLine="133" endOffset="55"/></Target><Target id="@+id/btn_chat_paciente" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="142" startOffset="4" endLine="154" endOffset="51"/></Target></Targets></Layout>

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_consulta_medico" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/item_consulta_medico.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="com.google.android.material.card.MaterialCardView"><Targets><Target tag="layout/item_consulta_medico_0" view="com.google.android.material.card.MaterialCardView"><Expressions/><location startLine="1" startOffset="0" endLine="99" endOffset="51"/></Target><Target id="@+id/text_paciente_nome" view="TextView"><Expressions/><location startLine="41" startOffset="16" endLine="48" endOffset="61"/></Target><Target id="@+id/text_consulta_data_hora" view="TextView"><Expressions/><location startLine="50" startOffset="16" endLine="57" endOffset="63"/></Target><Target id="@+id/text_consulta_status" view="TextView"><Expressions/><location startLine="59" startOffset="16" endLine="67" endOffset="45"/></Target><Target id="@+id/btn_cancelar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="78" startOffset="12" endLine="87" endOffset="41"/></Target><Target id="@+id/btn_confirmar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="89" startOffset="12" endLine="95" endOffset="42"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_consulta_medico" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/item_consulta_medico.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="com.google.android.material.card.MaterialCardView"><Targets><Target tag="layout/item_consulta_medico_0" view="com.google.android.material.card.MaterialCardView"><Expressions/><location startLine="1" startOffset="0" endLine="99" endOffset="51"/></Target><Target id="@+id/text_paciente_nome" view="TextView"><Expressions/><location startLine="41" startOffset="16" endLine="48" endOffset="61"/></Target><Target id="@+id/text_consulta_data_hora" view="TextView"><Expressions/><location startLine="50" startOffset="16" endLine="57" endOffset="63"/></Target><Target id="@+id/text_consulta_status" view="TextView"><Expressions/><location startLine="59" startOffset="16" endLine="67" endOffset="45"/></Target><Target id="@+id/btn_cancelar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="78" startOffset="12" endLine="87" endOffset="41"/></Target><Target id="@+id/btn_confirmar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="89" startOffset="12" endLine="95" endOffset="40"/></Target></Targets></Layout>

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_paciente" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/item_paciente.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="com.google.android.material.card.MaterialCardView"><Targets><Target tag="layout/item_paciente_0" view="com.google.android.material.card.MaterialCardView"><Expressions/><location startLine="1" startOffset="0" endLine="57" endOffset="51"/></Target><Target id="@+id/image_paciente" view="ImageView"><Expressions/><location startLine="20" startOffset="8" endLine="29" endOffset="44"/></Target><Target id="@+id/text_paciente_nome" view="TextView"><Expressions/><location startLine="37" startOffset="12" endLine="44" endOffset="57"/></Target><Target id="@+id/text_paciente_email" view="TextView"><Expressions/><location startLine="46" startOffset="12" endLine="53" endOffset="59"/></Target></Targets></Layout>

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_detalhe_paciente" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/activity_detalhe_paciente.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="androidx.constraintlayout.widget.ConstraintLayout"><Targets><Target tag="layout/activity_detalhe_paciente_0" view="androidx.constraintlayout.widget.ConstraintLayout"><Expressions/><location startLine="1" startOffset="0" endLine="143" endOffset="51"/></Target><Target id="@+id/tv_nome_paciente" view="TextView"><Expressions/><location startLine="48" startOffset="20" endLine="54" endOffset="58"/></Target><Target id="@+id/tv_idade_paciente" view="TextView"><Expressions/><location startLine="56" startOffset="20" endLine="62" endOffset="58"/></Target><Target id="@+id/tv_numero_utente" view="TextView"><Expressions/><location startLine="64" startOffset="20" endLine="70" endOffset="58"/></Target><Target id="@+id/tv_sexo_paciente" view="TextView"><Expressions/><location startLine="72" startOffset="20" endLine="78" endOffset="58"/></Target><Target id="@+id/tv_email_paciente" view="TextView"><Expressions/><location startLine="80" startOffset="20" endLine="85" endOffset="48"/></Target><Target id="@+id/tv_medicacao_paciente" view="TextView"><Expressions/><location startLine="114" startOffset="20" endLine="120" endOffset="55"/></Target><Target id="@+id/btn_chat_paciente" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="129" startOffset="4" endLine="141" endOffset="51"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_detalhe_paciente" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/activity_detalhe_paciente.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="androidx.constraintlayout.widget.ConstraintLayout"><Targets><Target tag="layout/activity_detalhe_paciente_0" view="androidx.constraintlayout.widget.ConstraintLayout"><Expressions/><location startLine="1" startOffset="0" endLine="156" endOffset="51"/></Target><Target id="@+id/btn_sair_detalhe" view="ImageButton"><Expressions/><location startLine="11" startOffset="4" endLine="22" endOffset="33"/></Target><Target id="@+id/tv_nome_paciente" view="TextView"><Expressions/><location startLine="61" startOffset="20" endLine="67" endOffset="58"/></Target><Target id="@+id/tv_idade_paciente" view="TextView"><Expressions/><location startLine="69" startOffset="20" endLine="75" endOffset="58"/></Target><Target id="@+id/tv_numero_utente" view="TextView"><Expressions/><location startLine="77" startOffset="20" endLine="83" endOffset="58"/></Target><Target id="@+id/tv_sexo_paciente" view="TextView"><Expressions/><location startLine="85" startOffset="20" endLine="91" endOffset="58"/></Target><Target id="@+id/tv_email_paciente" view="TextView"><Expressions/><location startLine="93" startOffset="20" endLine="98" endOffset="48"/></Target><Target id="@+id/tv_medicacao_paciente" view="TextView"><Expressions/><location startLine="127" startOffset="20" endLine="133" endOffset="55"/></Target><Target id="@+id/btn_chat_paciente" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="142" startOffset="4" endLine="154" endOffset="51"/></Target></Targets></Layout>

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_consulta_medico" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/item_consulta_medico.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="com.google.android.material.card.MaterialCardView"><Targets><Target tag="layout/item_consulta_medico_0" view="com.google.android.material.card.MaterialCardView"><Expressions/><location startLine="1" startOffset="0" endLine="99" endOffset="51"/></Target><Target id="@+id/text_paciente_nome" view="TextView"><Expressions/><location startLine="41" startOffset="16" endLine="48" endOffset="61"/></Target><Target id="@+id/text_consulta_data_hora" view="TextView"><Expressions/><location startLine="50" startOffset="16" endLine="57" endOffset="63"/></Target><Target id="@+id/text_consulta_status" view="TextView"><Expressions/><location startLine="59" startOffset="16" endLine="67" endOffset="45"/></Target><Target id="@+id/btn_cancelar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="78" startOffset="12" endLine="87" endOffset="41"/></Target><Target id="@+id/btn_confirmar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="89" startOffset="12" endLine="95" endOffset="42"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_consulta_medico" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/item_consulta_medico.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="com.google.android.material.card.MaterialCardView"><Targets><Target tag="layout/item_consulta_medico_0" view="com.google.android.material.card.MaterialCardView"><Expressions/><location startLine="1" startOffset="0" endLine="99" endOffset="51"/></Target><Target id="@+id/text_paciente_nome" view="TextView"><Expressions/><location startLine="41" startOffset="16" endLine="48" endOffset="61"/></Target><Target id="@+id/text_consulta_data_hora" view="TextView"><Expressions/><location startLine="50" startOffset="16" endLine="57" endOffset="63"/></Target><Target id="@+id/text_consulta_status" view="TextView"><Expressions/><location startLine="59" startOffset="16" endLine="67" endOffset="45"/></Target><Target id="@+id/btn_cancelar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="78" startOffset="12" endLine="87" endOffset="41"/></Target><Target id="@+id/btn_confirmar" view="com.google.android.material.button.MaterialButton"><Expressions/><location startLine="89" startOffset="12" endLine="95" endOffset="40"/></Target></Targets></Layout>

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_paciente" modulePackage="com.example.medcuida.pro" filePath="app/src/main/res/layout/item_paciente.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="com.google.android.material.card.MaterialCardView"><Targets><Target tag="layout/item_paciente_0" view="com.google.android.material.card.MaterialCardView"><Expressions/><location startLine="1" startOffset="0" endLine="57" endOffset="51"/></Target><Target id="@+id/image_paciente" view="ImageView"><Expressions/><location startLine="20" startOffset="8" endLine="29" endOffset="44"/></Target><Target id="@+id/text_paciente_nome" view="TextView"><Expressions/><location startLine="37" startOffset="12" endLine="44" endOffset="57"/></Target><Target id="@+id/text_paciente_email" view="TextView"><Expressions/><location startLine="46" startOffset="12" endLine="53" endOffset="59"/></Target></Targets></Layout>

View File

@@ -1,4 +1,4 @@
#Thu Apr 16 10:04:22 WEST 2026
#Mon Apr 20 14:59:39 WEST 2026
com.example.medcuida.pro.app-main-56\:/drawable-v26/ic_launcher_final.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/drawable-v26_ic_launcher_final.xml.flat
com.example.medcuida.pro.app-main-56\:/drawable/bg_bubble_receive.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/drawable_bg_bubble_receive.xml.flat
com.example.medcuida.pro.app-main-56\:/drawable/bg_bubble_send.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/drawable_bg_bubble_send.xml.flat
@@ -58,4 +58,5 @@ com.example.medcuida.pro.app-mergeDebugResources-53\:/layout/item_appointment.xm
com.example.medcuida.pro.app-mergeDebugResources-53\:/layout/item_consulta_medico.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_item_consulta_medico.xml.flat
com.example.medcuida.pro.app-mergeDebugResources-53\:/layout/item_medication.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_item_medication.xml.flat
com.example.medcuida.pro.app-mergeDebugResources-53\:/layout/item_mensagem.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_item_mensagem.xml.flat
com.example.medcuida.pro.app-mergeDebugResources-53\:/layout/item_paciente.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_item_paciente.xml.flat
com.example.medcuida.pro.app-mergeDebugResources-53\:/layout/item_time_slot.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_item_time_slot.xml.flat

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,157 @@
<?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"
android:background="@color/white"
tools:context=".DetalhePacienteActivity">
<ImageButton
android:id="@+id/btn_sair_detalhe"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="16dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_arrow_back"
app:tint="@color/text_primary"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:contentDescription="Sair"
android:elevation="4dp" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/btn_sair_detalhe"
app:layout_constraintBottom_toTopOf="@id/btn_chat_paciente">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="24dp">
<!-- Card Pessoal -->
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
app:cardCornerRadius="12dp"
app:cardElevation="2dp"
app:strokeWidth="1dp"
app:strokeColor="#E0E0E0">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Informação Pessoal"
android:textStyle="bold"
android:textSize="18sp"
android:textColor="?attr/colorPrimary"
android:layout_marginBottom="16dp"/>
<TextView
android:id="@+id/tv_nome_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nome: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_idade_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Idade: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_numero_utente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nº Utente: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_sexo_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sexo: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_email_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Email: A carregar..."
android:textSize="16sp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<!-- Card Clínica -->
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="12dp"
app:cardElevation="2dp"
app:strokeWidth="1dp"
app:strokeColor="#E0E0E0">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Medicação Atual"
android:textStyle="bold"
android:textSize="18sp"
android:textColor="?attr/colorPrimary"
android:layout_marginBottom="16dp"/>
<TextView
android:id="@+id/tv_medicacao_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="A carregar medicação..."
android:textSize="16sp"
android:lineSpacingExtra="4dp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</ScrollView>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_chat_paciente"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_margin="24dp"
android:text="Conversar com Paciente"
android:textSize="16sp"
app:icon="@drawable/ic_chat"
app:iconGravity="textStart"
app:cornerRadius="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -1,242 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:background="#F5F5F5">
<LinearLayout
android:id="@+id/lay_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:paddingTop="24dp"
android:paddingBottom="16dp"
android:paddingHorizontal="24dp"
android:background="#F5F5F5"
android:elevation="0dp">
<TextView
android:id="@+id/tv_greeting_main"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Olá"
android:textSize="26sp"
android:textStyle="bold"
android:textColor="?attr/colorPrimary"/>
</LinearLayout>
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/lay_top"
android:layout_above="@id/bottom_navigation">
<!-- AGENDA VIEW -->
<LinearLayout
android:id="@+id/view_agenda"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingHorizontal="24dp">
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="16dp"
app:cardCornerRadius="20dp"
app:cardElevation="4dp"
app:strokeWidth="1dp"
app:strokeColor="#EEF2F6">
<CalendarView
android:id="@+id/calendarView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white" />
</com.google.android.material.card.MaterialCardView>
<TextView
android:id="@+id/text_agenda_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="As tuas consultas planeadas:"
android:textStyle="bold"
android:textSize="18sp"
android:paddingVertical="12dp"
android:textColor="@color/primary_color"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_agenda"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="80dp" />
<TextView
android:id="@+id/text_agenda_vazia"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Não tens consultas agendadas para este dia."
android:gravity="center"
android:visibility="gone"
android:textSize="16sp"
android:textColor="@color/text_secondary"
android:paddingBottom="40dp"/>
</FrameLayout>
</LinearLayout>
<!-- PACIENTES VIEW -->
<LinearLayout
android:id="@+id/view_pacientes"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/text_empty_state"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:text="Nenhuma consulta marcada."
android:gravity="center"
android:visibility="gone"
android:textSize="18sp"
android:textColor="#9E9E9E" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_consultas"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingTop="8dp"
android:paddingBottom="16dp" />
</LinearLayout>
<!-- PERFIL VIEW -->
<LinearLayout
android:id="@+id/view_perfil"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="24dp"
android:gravity="center_horizontal"
android:background="#FAFAFA"
android:visibility="gone">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/ic_user"
android:layout_marginBottom="16dp"
app:tint="#616161"/>
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
app:cardElevation="8dp"
app:strokeWidth="0dp"
app:cardCornerRadius="16dp"
app:cardBackgroundColor="@color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="24dp"
android:paddingBottom="24dp"
android:paddingHorizontal="16dp"
android:gravity="center_horizontal">
<TextView
android:id="@+id/tv_nome_medico"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nome do Utilizador"
android:textSize="20sp"
android:textStyle="bold"
android:textColor="#000000"
android:layout_marginBottom="4dp"/>
<TextView
android:id="@+id/tv_email_medico"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="email@exemplo.com"
android:textColor="#757575"
android:textSize="14sp"
android:layout_marginBottom="16dp"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#E0E0E0"
android:layout_marginBottom="16dp"
android:layout_marginHorizontal="8dp"/>
<TextView
android:id="@+id/tv_especialidade"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Especialidade: --"
android:textColor="#616161"
android:textSize="15sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_cedula"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cédula: --"
android:textColor="#616161"
android:textSize="15sp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_editar_dados"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="EDITAR DADOS"
android:textSize="14sp"
android:textStyle="bold"
app:cornerRadius="28dp"
app:backgroundTint="#000000"
android:textColor="@color/white"
android:layout_marginBottom="16dp"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_logout"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="TERMINAR SESSÃO"
android:textSize="14sp"
android:textStyle="bold"
app:cornerRadius="28dp"
app:strokeColor="#D32F2F"
app:strokeWidth="1dp"
app:backgroundTint="@color/white"
android:textColor="#D32F2F"/>
</LinearLayout>
</FrameLayout>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="?android:attr/windowBackground"
app:menu="@menu/menu_bottom"
app:labelVisibilityMode="labeled" />
</RelativeLayout>

View File

@@ -1,4 +1,4 @@
#Thu Apr 16 10:04:22 WEST 2026
#Mon Apr 20 14:59:39 WEST 2026
com.example.medcuida.pro.app-main-6\:/drawable-v26/ic_launcher_final.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable-v26/ic_launcher_final.xml
com.example.medcuida.pro.app-main-6\:/drawable/bg_bubble_receive.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable/bg_bubble_receive.xml
com.example.medcuida.pro.app-main-6\:/drawable/bg_bubble_send.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable/bg_bubble_send.xml
@@ -58,4 +58,5 @@ com.example.medcuida.pro.app-packageDebugResources-3\:/layout/item_appointment.x
com.example.medcuida.pro.app-packageDebugResources-3\:/layout/item_consulta_medico.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/layout/item_consulta_medico.xml
com.example.medcuida.pro.app-packageDebugResources-3\:/layout/item_medication.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/layout/item_medication.xml
com.example.medcuida.pro.app-packageDebugResources-3\:/layout/item_mensagem.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/layout/item_mensagem.xml
com.example.medcuida.pro.app-packageDebugResources-3\:/layout/item_paciente.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/layout/item_paciente.xml
com.example.medcuida.pro.app-packageDebugResources-3\:/layout/item_time_slot.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/layout/item_time_slot.xml

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,157 @@
<?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"
android:background="@color/white"
tools:context=".DetalhePacienteActivity">
<ImageButton
android:id="@+id/btn_sair_detalhe"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="16dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_arrow_back"
app:tint="@color/text_primary"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:contentDescription="Sair"
android:elevation="4dp" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/btn_sair_detalhe"
app:layout_constraintBottom_toTopOf="@id/btn_chat_paciente">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="24dp">
<!-- Card Pessoal -->
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
app:cardCornerRadius="12dp"
app:cardElevation="2dp"
app:strokeWidth="1dp"
app:strokeColor="#E0E0E0">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Informação Pessoal"
android:textStyle="bold"
android:textSize="18sp"
android:textColor="?attr/colorPrimary"
android:layout_marginBottom="16dp"/>
<TextView
android:id="@+id/tv_nome_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nome: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_idade_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Idade: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_numero_utente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nº Utente: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_sexo_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sexo: A carregar..."
android:textSize="16sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_email_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Email: A carregar..."
android:textSize="16sp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<!-- Card Clínica -->
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="12dp"
app:cardElevation="2dp"
app:strokeWidth="1dp"
app:strokeColor="#E0E0E0">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Medicação Atual"
android:textStyle="bold"
android:textSize="18sp"
android:textColor="?attr/colorPrimary"
android:layout_marginBottom="16dp"/>
<TextView
android:id="@+id/tv_medicacao_paciente"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="A carregar medicação..."
android:textSize="16sp"
android:lineSpacingExtra="4dp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</ScrollView>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_chat_paciente"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_margin="24dp"
android:text="Conversar com Paciente"
android:textSize="16sp"
app:icon="@drawable/ic_chat"
app:iconGravity="textStart"
app:cornerRadius="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -1,242 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:background="#F5F5F5">
<LinearLayout
android:id="@+id/lay_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:paddingTop="24dp"
android:paddingBottom="16dp"
android:paddingHorizontal="24dp"
android:background="#F5F5F5"
android:elevation="0dp">
<TextView
android:id="@+id/tv_greeting_main"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Olá"
android:textSize="26sp"
android:textStyle="bold"
android:textColor="?attr/colorPrimary"/>
</LinearLayout>
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/lay_top"
android:layout_above="@id/bottom_navigation">
<!-- AGENDA VIEW -->
<LinearLayout
android:id="@+id/view_agenda"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingHorizontal="24dp">
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="16dp"
app:cardCornerRadius="20dp"
app:cardElevation="4dp"
app:strokeWidth="1dp"
app:strokeColor="#EEF2F6">
<CalendarView
android:id="@+id/calendarView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white" />
</com.google.android.material.card.MaterialCardView>
<TextView
android:id="@+id/text_agenda_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="As tuas consultas planeadas:"
android:textStyle="bold"
android:textSize="18sp"
android:paddingVertical="12dp"
android:textColor="@color/primary_color"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_agenda"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="80dp" />
<TextView
android:id="@+id/text_agenda_vazia"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Não tens consultas agendadas para este dia."
android:gravity="center"
android:visibility="gone"
android:textSize="16sp"
android:textColor="@color/text_secondary"
android:paddingBottom="40dp"/>
</FrameLayout>
</LinearLayout>
<!-- PACIENTES VIEW -->
<LinearLayout
android:id="@+id/view_pacientes"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/text_empty_state"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:text="Nenhuma consulta marcada."
android:gravity="center"
android:visibility="gone"
android:textSize="18sp"
android:textColor="#9E9E9E" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_consultas"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingTop="8dp"
android:paddingBottom="16dp" />
</LinearLayout>
<!-- PERFIL VIEW -->
<LinearLayout
android:id="@+id/view_perfil"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="24dp"
android:gravity="center_horizontal"
android:background="#FAFAFA"
android:visibility="gone">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/ic_user"
android:layout_marginBottom="16dp"
app:tint="#616161"/>
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="24dp"
app:cardElevation="8dp"
app:strokeWidth="0dp"
app:cardCornerRadius="16dp"
app:cardBackgroundColor="@color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="24dp"
android:paddingBottom="24dp"
android:paddingHorizontal="16dp"
android:gravity="center_horizontal">
<TextView
android:id="@+id/tv_nome_medico"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nome do Utilizador"
android:textSize="20sp"
android:textStyle="bold"
android:textColor="#000000"
android:layout_marginBottom="4dp"/>
<TextView
android:id="@+id/tv_email_medico"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="email@exemplo.com"
android:textColor="#757575"
android:textSize="14sp"
android:layout_marginBottom="16dp"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#E0E0E0"
android:layout_marginBottom="16dp"
android:layout_marginHorizontal="8dp"/>
<TextView
android:id="@+id/tv_especialidade"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Especialidade: --"
android:textColor="#616161"
android:textSize="15sp"
android:layout_marginBottom="8dp"/>
<TextView
android:id="@+id/tv_cedula"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cédula: --"
android:textColor="#616161"
android:textSize="15sp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_editar_dados"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="EDITAR DADOS"
android:textSize="14sp"
android:textStyle="bold"
app:cornerRadius="28dp"
app:backgroundTint="#000000"
android:textColor="@color/white"
android:layout_marginBottom="16dp"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_logout"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="TERMINAR SESSÃO"
android:textSize="14sp"
android:textStyle="bold"
app:cornerRadius="28dp"
app:strokeColor="#D32F2F"
app:strokeWidth="1dp"
app:backgroundTint="@color/white"
android:textColor="#D32F2F"/>
</LinearLayout>
</FrameLayout>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="?android:attr/windowBackground"
app:menu="@menu/menu_bottom"
app:labelVisibilityMode="labeled" />
</RelativeLayout>

View File

@@ -1,4 +1,4 @@
#Thu Apr 16 10:39:29 WEST 2026
#Mon Apr 20 14:59:40 WEST 2026
base.0=/Users/230405/Desktop/med Cuida+/app/build/intermediates/dex/debug/mergeExtDexDebug/classes.dex
base.1=/Users/230405/Desktop/med Cuida+/app/build/intermediates/dex/debug/mergeProjectDexDebug/0/classes.dex
base.2=/Users/230405/Desktop/med Cuida+/app/build/intermediates/dex/debug/mergeProjectDexDebug/11/classes.dex

File diff suppressed because one or more lines are too long

View File

@@ -51,6 +51,7 @@ id btn_editar_dados
id btn_enviar
id btn_guardar_alteracoes
id btn_logout
id btn_sair_detalhe
id btn_time_slot
id btn_voltar
id button_ai_triage
@@ -86,6 +87,7 @@ id et_mensagem_input
id fab_add_medication
id forgot_password_link
id gender_auto_complete
id image_paciente
id input_symptoms
id lay_top
id layout_input
@@ -142,6 +144,7 @@ id text_med_dosage
id text_med_name
id text_med_notes
id text_med_time
id text_paciente_email
id text_paciente_nome
id text_reason
id text_time
@@ -187,6 +190,7 @@ layout item_appointment
layout item_consulta_medico
layout item_medication
layout item_mensagem
layout item_paciente
layout item_time_slot
menu bottom_nav_menu
menu menu_bottom

View File

@@ -1,12 +1,12 @@
[
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/item_mensagem.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_mensagem.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/activity_agenda.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_agenda.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/item_mensagem.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_mensagem.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/activity_chat.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_chat.xml"
@@ -75,6 +75,14 @@
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/activity_detalhe_paciente.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_detalhe_paciente.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/item_paciente.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_paciente.xml"
},
{
"merged": "com.example.medcuida.pro.app-mergeDebugResources-53:/layout/activity_detalhe_paciente.xml",
"source": "com.example.medcuida.pro.app-main-56:/layout/activity_detalhe_paciente.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/item_consulta_medico.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_consulta_medico.xml"
@@ -91,10 +99,6 @@
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/fragment_sns24.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/fragment_sns24.xml"
},
{
"merged": "com.example.medcuida.pro.app-mergeDebugResources-53:/layout/activity_main.xml",
"source": "com.example.medcuida.pro.app-main-56:/layout/activity_main.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-mergeDebugResources-53:/layout/activity_register_medico.xml",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_register_medico.xml"

View File

@@ -8,28 +8,28 @@
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/fragment_appointments.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_dialog_change_password.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/dialog_change_password.xml"
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_bg_bubble_send.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/bg_bubble_send.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_item_time_slot.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_time_slot.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_bg_bubble_send.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/bg_bubble_send.xml"
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_dialog_change_password.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/dialog_change_password.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_fragment_medication.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/fragment_medication.xml"
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_ic_chat.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/ic_chat.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_item_mensagem.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_mensagem.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_ic_chat.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/ic_chat.xml"
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_fragment_medication.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/fragment_medication.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_fragment_home.xml.flat",
@@ -63,14 +63,14 @@
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_bg_bubble_receive.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/bg_bubble_receive.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_logo_app.png.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/logo_app.png"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_activity_agenda.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_agenda.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_logo_app.png.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/logo_app.png"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/mipmap-mdpi_ic_launcher_round.png.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/mipmap-mdpi/ic_launcher_round.png"
@@ -127,6 +127,10 @@
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_activity_main.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_main.xml"
},
{
"merged": "com.example.medcuida.pro.app-debug-54:/layout_activity_detalhe_paciente.xml.flat",
"source": "com.example.medcuida.pro.app-main-56:/layout/activity_detalhe_paciente.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_activity_login.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_login.xml"
@@ -183,6 +187,10 @@
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_item_appointment.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_appointment.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_item_paciente.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/item_paciente.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/drawable_ic_nav_contactos.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/drawable/ic_nav_contactos.xml"
@@ -219,10 +227,6 @@
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_activity_perfil_medico.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/activity_perfil_medico.xml"
},
{
"merged": "com.example.medcuida.pro.app-debug-54:/layout_activity_main.xml.flat",
"source": "com.example.medcuida.pro.app-main-56:/layout/activity_main.xml"
},
{
"merged": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-debug-54:/layout_fragment_sns24.xml.flat",
"source": "/Users/230405/.gradle/daemon/9.3.1/com.example.medcuida.pro.app-main-56:/layout/fragment_sns24.xml"

View File

@@ -9,10 +9,23 @@
<ImageButton
android:id="@+id/btn_sair_detalhe"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="16dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_arrow_back"
app:tint="@color/text_primary"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:contentDescription="Sair"
android:elevation="4dp" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintTop_toBottomOf="@id/btn_sair_detalhe"
app:layout_constraintBottom_toTopOf="@id/btn_chat_paciente">
<LinearLayout

View File

@@ -85,7 +85,7 @@
android:layout_marginEnd="8dp"
android:textColor="@color/error_color"
app:strokeColor="@color/error_color"
android:text="Cancelar" />
android:text="Eliminar" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_confirmar"
@@ -93,7 +93,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:text="Confirmar" />
android:text="Aceitar" />
</LinearLayout>
</LinearLayout>

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView 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:layout_marginHorizontal="12dp"
android:layout_marginVertical="8dp"
app:cardCornerRadius="16dp"
app:cardElevation="2dp"
app:strokeWidth="1dp"
app:strokeColor="#E5E7EB"
app:cardBackgroundColor="@color/surface_color">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="16dp"
android:gravity="center_vertical">
<ImageView
android:id="@+id/image_paciente"
android:layout_width="56dp"
android:layout_height="56dp"
android:padding="12dp"
android:background="@drawable/circle_bg"
android:src="@drawable/ic_user"
app:tint="@color/primary_color"
android:contentDescription="Foto do paciente"
android:layout_marginEnd="16dp"/>
<LinearLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/text_paciente_nome"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nome do Paciente"
android:textSize="18sp"
android:textStyle="bold"
android:textColor="@color/text_primary" />
<TextView
android:id="@+id/text_paciente_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="email@exemplo.com"
android:textSize="14sp"
android:layout_marginTop="2dp"
android:textColor="@color/text_secondary" />
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>

View File

@@ -3334,6 +3334,7 @@ int id btn_editar_dados 0x7f090074
int id btn_enviar 0x7f090075
int id btn_guardar_alteracoes 0x7f090076
int id btn_logout 0x7f090077
int id btn_sair_detalhe 0x7f090287
int id btn_time_slot 0x7f090078
int id btn_voltar 0x7f090079
int id buttonPanel 0x7f09007a
@@ -3496,6 +3497,7 @@ int id ifRoom 0x7f090116
int id ignore 0x7f090117
int id ignoreRequest 0x7f090118
int id image 0x7f090119
int id image_paciente 0x7f090285
int id immediateStop 0x7f09011a
int id included 0x7f09011b
int id indeterminate 0x7f09011c
@@ -3791,6 +3793,7 @@ int id text_med_dosage 0x7f09023d
int id text_med_name 0x7f09023e
int id text_med_notes 0x7f09023f
int id text_med_time 0x7f090240
int id text_paciente_email 0x7f090286
int id text_paciente_nome 0x7f090241
int id text_reason 0x7f090242
int id text_time 0x7f090243
@@ -4019,6 +4022,7 @@ int layout item_appointment 0x7f0c0044
int layout item_consulta_medico 0x7f0c0045
int layout item_medication 0x7f0c0046
int layout item_mensagem 0x7f0c0047
int layout item_paciente 0x7f0c0086
int layout item_time_slot 0x7f0c0048
int layout m3_alert_dialog 0x7f0c0049
int layout m3_alert_dialog_actions 0x7f0c004a

View File

@@ -3335,6 +3335,7 @@ id btn_editar_dados
id btn_enviar
id btn_guardar_alteracoes
id btn_logout
id btn_sair_detalhe
id btn_time_slot
id btn_voltar
id buttonPanel
@@ -3497,6 +3498,7 @@ id ifRoom
id ignore
id ignoreRequest
id image
id image_paciente
id immediateStop
id included
id indeterminate
@@ -3792,6 +3794,7 @@ id text_med_dosage
id text_med_name
id text_med_notes
id text_med_time
id text_paciente_email
id text_paciente_nome
id text_reason
id text_time
@@ -4020,6 +4023,7 @@ layout item_appointment
layout item_consulta_medico
layout item_medication
layout item_mensagem
layout item_paciente
layout item_time_slot
layout m3_alert_dialog
layout m3_alert_dialog_actions

Some files were not shown because too many files have changed in this diff Show More