ja acabei a app acho?

This commit is contained in:
2026-02-12 10:38:13 +00:00
parent a71553d54f
commit e01d7ae871
142 changed files with 3497 additions and 2904 deletions

View File

@@ -1,4 +1,4 @@
#Tue Feb 03 16:56:38 WET 2026
#Thu Feb 12 10:36:42 WET 2026
com.example.cuida.app-main-64\:/drawable-v26/ic_launcher_final.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/drawable-v26_ic_launcher_final.xml.flat
com.example.cuida.app-main-64\:/drawable/ic_launcher.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/drawable_ic_launcher.xml.flat
com.example.cuida.app-main-64\:/drawable/ic_launcher_final.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/drawable_ic_launcher_final.xml.flat
@@ -13,6 +13,7 @@ com.example.cuida.app-mergeDebugResources-61\:/layout/activity_forgot_password.x
com.example.cuida.app-mergeDebugResources-61\:/layout/activity_login.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_activity_login.xml.flat
com.example.cuida.app-mergeDebugResources-61\:/layout/activity_main.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_activity_main.xml.flat
com.example.cuida.app-mergeDebugResources-61\:/layout/activity_register.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_activity_register.xml.flat
com.example.cuida.app-mergeDebugResources-61\:/layout/dialog_add_medication.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_dialog_add_medication.xml.flat
com.example.cuida.app-mergeDebugResources-61\:/layout/dialog_change_password.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_dialog_change_password.xml.flat
com.example.cuida.app-mergeDebugResources-61\:/layout/dialog_edit_profile.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_dialog_edit_profile.xml.flat
com.example.cuida.app-mergeDebugResources-61\:/layout/fragment_appointments.xml=/Users/230405/Desktop/papcuida/app/build/intermediates/merged_res/debug/mergeDebugResources/layout_fragment_appointments.xml.flat

View File

@@ -11608,7 +11608,7 @@
<item name="strokeWidth">1dp</item>
<item name="strokeColor">#E0E0E0</item>
<item name="cardBackgroundColor">@color/surface_color</item>
</style></file><file path="/Users/230405/Desktop/papcuida/app/src/main/res/values/strings.xml" qualifiers=""><string name="app_name">Cuida</string><string name="title_home">Início</string><string name="title_appointments">Consultas</string><string name="title_medication">Medicação</string><string name="title_sns24">SNS 24</string><string name="title_profile">Perfil</string><string name="login_title">Iniciar Sessão</string><string name="register_title">Criar Conta</string><string name="forgot_password">Esqueci-me da Palavra-passe</string><string name="email_hint">Email</string><string name="password_hint">Palavra-passe</string><string name="name_hint">Nome Completo</string><string name="age_hint">Idade</string><string name="login_button">Entrar</string><string name="register_button">Registar</string><string name="no_account">Não tem conta?</string><string name="already_account">Já tem conta?</string></file><file name="backup_rules" path="/Users/230405/Desktop/papcuida/app/src/main/res/xml/backup_rules.xml" qualifiers="" type="xml"/><file name="data_extraction_rules" path="/Users/230405/Desktop/papcuida/app/src/main/res/xml/data_extraction_rules.xml" qualifiers="" type="xml"/><file name="bottom_nav_menu" path="/Users/230405/Desktop/papcuida/app/src/main/res/menu/bottom_nav_menu.xml" qualifiers="" type="menu"/><file name="ic_launcher_final" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable/ic_launcher_final.xml" qualifiers="" type="drawable"/><file name="ic_logo_scaled" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable/ic_logo_scaled.xml" qualifiers="" type="drawable"/><file name="ic_launcher_final" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable-v26/ic_launcher_final.xml" qualifiers="v26" type="drawable"/><file name="ic_placeholder" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable/ic_placeholder.xml" qualifiers="" type="drawable"/><file name="dialog_change_password" path="/Users/230405/Desktop/papcuida/app/src/main/res/layout/dialog_change_password.xml" qualifiers="" type="layout"/></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/230405/Desktop/papcuida/app/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!&lt;dir>navigation"><source path="/Users/230405/Desktop/papcuida/app/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/resValues/debug"/><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/processDebugGoogleServices"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!&lt;dir>navigation"><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/resValues/debug"/><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/processDebugGoogleServices"><file path="/Users/230405/Desktop/papcuida/app/build/generated/res/processDebugGoogleServices/values/values.xml" qualifiers=""><string name="gcm_defaultSenderId" translatable="false">844909242089</string><string name="google_api_key" translatable="false">AIzaSyCrTuHBRLoHkockoJEgAI9O7-gQJT6CkW4</string><string name="google_app_id" translatable="false">1:844909242089:android:4a039a7dbec802836ab278</string><string name="google_crash_reporting_api_key" translatable="false">AIzaSyCrTuHBRLoHkockoJEgAI9O7-gQJT6CkW4</string><string name="google_storage_bucket" translatable="false">cuidamais-7b904.firebasestorage.app</string><string name="project_id" translatable="false">cuidamais-7b904</string></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="res-processDebugGoogleServices$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"/><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="res-processDebugGoogleServices" generated-set="res-processDebugGoogleServices$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!&lt;dir>navigation"/><mergedItems><configuration qualifiers=""><declare-styleable name="AlertDialog">
</style></file><file path="/Users/230405/Desktop/papcuida/app/src/main/res/values/strings.xml" qualifiers=""><string name="app_name">Cuida</string><string name="title_home">Início</string><string name="title_appointments">Consultas</string><string name="title_medication">Medicação</string><string name="title_sns24">SNS 24</string><string name="title_profile">Perfil</string><string name="login_title">Iniciar Sessão</string><string name="register_title">Criar Conta</string><string name="forgot_password">Esqueci-me da Palavra-passe</string><string name="email_hint">Email</string><string name="password_hint">Palavra-passe</string><string name="name_hint">Nome Completo</string><string name="age_hint">Idade</string><string name="login_button">Entrar</string><string name="register_button">Registar</string><string name="no_account">Não tem conta?</string><string name="already_account">Já tem conta?</string></file><file name="backup_rules" path="/Users/230405/Desktop/papcuida/app/src/main/res/xml/backup_rules.xml" qualifiers="" type="xml"/><file name="data_extraction_rules" path="/Users/230405/Desktop/papcuida/app/src/main/res/xml/data_extraction_rules.xml" qualifiers="" type="xml"/><file name="bottom_nav_menu" path="/Users/230405/Desktop/papcuida/app/src/main/res/menu/bottom_nav_menu.xml" qualifiers="" type="menu"/><file name="ic_launcher_final" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable/ic_launcher_final.xml" qualifiers="" type="drawable"/><file name="ic_logo_scaled" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable/ic_logo_scaled.xml" qualifiers="" type="drawable"/><file name="ic_launcher_final" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable-v26/ic_launcher_final.xml" qualifiers="v26" type="drawable"/><file name="ic_placeholder" path="/Users/230405/Desktop/papcuida/app/src/main/res/drawable/ic_placeholder.xml" qualifiers="" type="drawable"/><file name="dialog_change_password" path="/Users/230405/Desktop/papcuida/app/src/main/res/layout/dialog_change_password.xml" qualifiers="" type="layout"/><file name="dialog_add_medication" path="/Users/230405/Desktop/papcuida/app/src/main/res/layout/dialog_add_medication.xml" qualifiers="" type="layout"/></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/230405/Desktop/papcuida/app/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!&lt;dir>navigation"><source path="/Users/230405/Desktop/papcuida/app/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/resValues/debug"/><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/processDebugGoogleServices"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!&lt;dir>navigation"><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/resValues/debug"/><source path="/Users/230405/Desktop/papcuida/app/build/generated/res/processDebugGoogleServices"><file path="/Users/230405/Desktop/papcuida/app/build/generated/res/processDebugGoogleServices/values/values.xml" qualifiers=""><string name="gcm_defaultSenderId" translatable="false">844909242089</string><string name="google_api_key" translatable="false">AIzaSyCrTuHBRLoHkockoJEgAI9O7-gQJT6CkW4</string><string name="google_app_id" translatable="false">1:844909242089:android:4a039a7dbec802836ab278</string><string name="google_crash_reporting_api_key" translatable="false">AIzaSyCrTuHBRLoHkockoJEgAI9O7-gQJT6CkW4</string><string name="google_storage_bucket" translatable="false">cuidamais-7b904.firebasestorage.app</string><string name="project_id" translatable="false">cuidamais-7b904</string></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="res-processDebugGoogleServices$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"/><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="res-processDebugGoogleServices" generated-set="res-processDebugGoogleServices$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!&lt;dir>navigation"/><mergedItems><configuration qualifiers=""><declare-styleable name="AlertDialog">
<attr name="android:layout"/>
<attr format="reference" name="buttonPanelSideLayout"/>
<attr format="reference" name="listLayout"/>

View File

@@ -0,0 +1,79 @@
<?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>

View File

@@ -1,71 +0,0 @@
<?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="match_parent"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Agendar Consulta"
android:textSize="24sp"
android:textStyle="bold"
android:textColor="@color/black"
android:layout_marginBottom="24dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Selecionar Data"
android:textSize="18sp"
android:textStyle="bold"
android:layout_marginBottom="8dp"/>
<DatePicker
android:id="@+id/datePicker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:calendarViewShown="false"
android:datePickerMode="spinner"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Selecionar Horário"
android:textSize="18sp"
android:textStyle="bold"
android:layout_marginBottom="8dp"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_time_slots"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginBottom="16dp"/>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edit_reason"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Motivo da Consulta"
android:inputType="textMultiLine"
android:minLines="2"
android:maxLines="4"/>
</com.google.android.material.textfield.TextInputLayout>
<Button
android:id="@+id/btn_confirm_appointment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Confirmar Agendamento"/>
</LinearLayout>

View File

@@ -1,55 +0,0 @@
<?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_margin="8dp"
app:cardCornerRadius="8dp"
app:cardElevation="2dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/text_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tipo de Consulta"
android:textStyle="bold"
android:textSize="18sp"
android:textColor="@color/primary_color"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="8dp">
<TextView
android:id="@+id/text_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="dd/MM/yyyy"
android:layout_marginEnd="16dp"/>
<TextView
android:id="@+id/text_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="HH:mm"
android:textStyle="italic"/>
</LinearLayout>
<TextView
android:id="@+id/text_reason"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Motivo: --"
android:textSize="14sp"
android:textColor="@color/text_secondary"
android:layout_marginTop="8dp"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>