Compare commits

...

2 Commits

Author SHA1 Message Date
cbfb87d052 ja meti o droplist nos medicamentos 2026-04-14 17:14:37 +01:00
990eb94142 esta guardar e nao esta a entar no perfil 2026-03-18 10:10:46 +00:00
425 changed files with 18569 additions and 18023 deletions

Binary file not shown.

View File

@@ -63,6 +63,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="2400" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
<option name="codename" value="SC-53C" />
<option name="id" value="SC-53C" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="Galaxy A53 5G" />
<option name="screenDensity" value="450" />
<option name="screenX" value="1080" />
<option name="screenY" value="2400" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="28" />
<option name="brand" value="DOCOMO" />
@@ -208,6 +220,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="2340" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
<option name="codename" value="a15xtfn" />
<option name="id" value="a15xtfn" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="Galaxy A15 5G" />
<option name="screenDensity" value="450" />
<option name="screenX" value="1080" />
<option name="screenY" value="2340" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="35" />
<option name="brand" value="samsung" />
@@ -244,6 +268,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="2340" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="35" />
<option name="brand" value="samsung" />
<option name="codename" value="a16xeea" />
<option name="id" value="a16xeea" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="A16 5G" />
<option name="screenDensity" value="450" />
<option name="screenX" value="1080" />
<option name="screenY" value="2340" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="31" />
<option name="brand" value="samsung" />
@@ -388,6 +424,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="1272" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="30" />
<option name="brand" value="motorola" />
<option name="codename" value="aruba" />
<option name="id" value="aruba" />
<option name="labId" value="google" />
<option name="manufacturer" value="Motorola" />
<option name="name" value="moto e20" />
<option name="screenDensity" value="280" />
<option name="screenX" value="720" />
<option name="screenY" value="1600" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="33" />
<option name="brand" value="motorola" />
@@ -424,6 +472,18 @@
<option name="screenX" value="1440" />
<option name="screenY" value="3088" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
<option name="codename" value="b5qsqw" />
<option name="id" value="b5qsqw" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="Galaxy Z Flip 5" />
<option name="screenDensity" value="340" />
<option name="screenX" value="748" />
<option name="screenY" value="720" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="34" />
<option name="brand" value="samsung" />
@@ -436,6 +496,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="2640" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
<option name="codename" value="b6qsqw" />
<option name="id" value="b6qsqw" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="Galaxy Z Flip 6" />
<option name="screenDensity" value="480" />
<option name="screenX" value="1080" />
<option name="screenY" value="2640" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="google" />
@@ -1242,6 +1314,18 @@
<option name="screenX" value="1856" />
<option name="screenY" value="2160" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
<option name="codename" value="r0q" />
<option name="id" value="r0q" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="Galaxy S22" />
<option name="screenDensity" value="425" />
<option name="screenX" value="1080" />
<option name="screenY" value="2340" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
@@ -1304,6 +1388,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="2400" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="33" />
<option name="brand" value="samsung" />
<option name="codename" value="r8qksx" />
<option name="id" value="r8qksx" />
<option name="labId" value="google" />
<option name="manufacturer" value="Samsung" />
<option name="name" value="Galaxy S20 FE 5G" />
<option name="screenDensity" value="480" />
<option name="screenX" value="1080" />
<option name="screenY" value="2400" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="samsung" />
@@ -1369,6 +1465,18 @@
<option name="screenX" value="1080" />
<option name="screenY" value="2400" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="36" />
<option name="brand" value="google" />
<option name="codename" value="shiba" />
<option name="id" value="shiba" />
<option name="labId" value="google" />
<option name="manufacturer" value="Google" />
<option name="name" value="Pixel 8" />
<option name="screenDensity" value="420" />
<option name="screenX" value="1080" />
<option name="screenY" value="2400" />
</PersistentDeviceSelectionData>
<PersistentDeviceSelectionData>
<option name="api" value="34" />
<option name="brand" value="samsung" />

View File

@@ -75,4 +75,5 @@ dependencies {
// Firebase Auth and Firestore
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-firestore'
implementation 'com.google.firebase:firebase-database'
}

View File

@@ -10,10 +10,12 @@ import android.widget.RadioGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.cuida.R;
import com.google.android.material.textfield.TextInputEditText;
import com.google.android.material.textfield.TextInputLayout;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
@@ -28,6 +30,9 @@ public final class DialogAddMedicationBinding implements ViewBinding {
@NonNull
public final TextInputEditText editMedNotes;
@NonNull
public final TextInputLayout layoutMedName;
@NonNull
public final RadioGroup radioGroupRoute;
@@ -40,21 +45,27 @@ public final class DialogAddMedicationBinding implements ViewBinding {
@NonNull
public final RadioButton radioTopical;
@NonNull
public final RecyclerView recyclerSearchResults;
@NonNull
public final TextView textMedTime;
private DialogAddMedicationBinding(@NonNull LinearLayout rootView,
@NonNull TextInputEditText editMedName, @NonNull TextInputEditText editMedNotes,
@NonNull RadioGroup radioGroupRoute, @NonNull RadioButton radioInhalatory,
@NonNull RadioButton radioOral, @NonNull RadioButton radioTopical,
@NonNull TextInputLayout layoutMedName, @NonNull RadioGroup radioGroupRoute,
@NonNull RadioButton radioInhalatory, @NonNull RadioButton radioOral,
@NonNull RadioButton radioTopical, @NonNull RecyclerView recyclerSearchResults,
@NonNull TextView textMedTime) {
this.rootView = rootView;
this.editMedName = editMedName;
this.editMedNotes = editMedNotes;
this.layoutMedName = layoutMedName;
this.radioGroupRoute = radioGroupRoute;
this.radioInhalatory = radioInhalatory;
this.radioOral = radioOral;
this.radioTopical = radioTopical;
this.recyclerSearchResults = recyclerSearchResults;
this.textMedTime = textMedTime;
}
@@ -97,6 +108,12 @@ public final class DialogAddMedicationBinding implements ViewBinding {
break missingId;
}
id = R.id.layout_med_name;
TextInputLayout layoutMedName = ViewBindings.findChildViewById(rootView, id);
if (layoutMedName == null) {
break missingId;
}
id = R.id.radio_group_route;
RadioGroup radioGroupRoute = ViewBindings.findChildViewById(rootView, id);
if (radioGroupRoute == null) {
@@ -121,6 +138,12 @@ public final class DialogAddMedicationBinding implements ViewBinding {
break missingId;
}
id = R.id.recycler_search_results;
RecyclerView recyclerSearchResults = ViewBindings.findChildViewById(rootView, id);
if (recyclerSearchResults == null) {
break missingId;
}
id = R.id.text_med_time;
TextView textMedTime = ViewBindings.findChildViewById(rootView, id);
if (textMedTime == null) {
@@ -128,7 +151,8 @@ public final class DialogAddMedicationBinding implements ViewBinding {
}
return new DialogAddMedicationBinding((LinearLayout) rootView, editMedName, editMedNotes,
radioGroupRoute, radioInhalatory, radioOral, radioTopical, textMedTime);
layoutMedName, radioGroupRoute, radioInhalatory, radioOral, radioTopical,
recyclerSearchResults, textMedTime);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));

View File

@@ -0,0 +1,69 @@
// Generated by view binder compiler. Do not edit!
package com.example.cuida.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.cuida.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
public final class ItemComprimidoSearchBinding implements ViewBinding {
@NonNull
private final LinearLayout rootView;
@NonNull
public final TextView textPillName;
private ItemComprimidoSearchBinding(@NonNull LinearLayout rootView,
@NonNull TextView textPillName) {
this.rootView = rootView;
this.textPillName = textPillName;
}
@Override
@NonNull
public LinearLayout getRoot() {
return rootView;
}
@NonNull
public static ItemComprimidoSearchBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static ItemComprimidoSearchBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.item_comprimido_search, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static ItemComprimidoSearchBinding 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.text_pill_name;
TextView textPillName = ViewBindings.findChildViewById(rootView, id);
if (textPillName == null) {
break missingId;
}
return new ItemComprimidoSearchBinding((LinearLayout) rootView, textPillName);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}

View File

@@ -1,2 +1,2 @@
appMetadataVersion=1.1
androidGradlePluginVersion=9.1.0
androidGradlePluginVersion=9.1.1

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="dialog_add_medication" modulePackage="com.example.cuida" filePath="app/src/main/res/layout/dialog_add_medication.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.LinearLayout"><Targets><Target tag="layout/dialog_add_medication_0" view="LinearLayout"><Expressions/><location startLine="1" startOffset="0" endLine="84" endOffset="14"/></Target><Target id="@+id/edit_med_name" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="13" startOffset="8" endLine="17" endOffset="46"/></Target><Target id="@+id/text_med_time" view="TextView"><Expressions/><location startLine="27" startOffset="4" endLine="36" endOffset="43"/></Target><Target id="@+id/radio_group_route" view="RadioGroup"><Expressions/><location startLine="45" startOffset="4" endLine="68" endOffset="16"/></Target><Target id="@+id/radio_oral" view="RadioButton"><Expressions/><location startLine="51" startOffset="8" endLine="55" endOffset="49"/></Target><Target id="@+id/radio_topical" view="RadioButton"><Expressions/><location startLine="57" startOffset="8" endLine="61" endOffset="49"/></Target><Target id="@+id/radio_inhalatory" view="RadioButton"><Expressions/><location startLine="63" startOffset="8" endLine="67" endOffset="61"/></Target><Target id="@+id/edit_med_notes" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="76" startOffset="8" endLine="81" endOffset="33"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="dialog_add_medication" modulePackage="com.example.cuida" filePath="app/src/main/res/layout/dialog_add_medication.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.LinearLayout"><Targets><Target tag="layout/dialog_add_medication_0" view="LinearLayout"><Expressions/><location startLine="1" startOffset="0" endLine="108" endOffset="14"/></Target><Target id="@+id/layout_med_name" view="com.google.android.material.textfield.TextInputLayout"><Expressions/><location startLine="16" startOffset="12" endLine="29" endOffset="67"/></Target><Target id="@+id/edit_med_name" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="24" startOffset="16" endLine="28" endOffset="54"/></Target><Target id="@+id/recycler_search_results" view="androidx.recyclerview.widget.RecyclerView"><Expressions/><location startLine="41" startOffset="8" endLine="48" endOffset="62"/></Target><Target id="@+id/text_med_time" view="TextView"><Expressions/><location startLine="51" startOffset="4" endLine="60" endOffset="43"/></Target><Target id="@+id/radio_group_route" view="RadioGroup"><Expressions/><location startLine="69" startOffset="4" endLine="92" endOffset="16"/></Target><Target id="@+id/radio_oral" view="RadioButton"><Expressions/><location startLine="75" startOffset="8" endLine="79" endOffset="49"/></Target><Target id="@+id/radio_topical" view="RadioButton"><Expressions/><location startLine="81" startOffset="8" endLine="85" endOffset="49"/></Target><Target id="@+id/radio_inhalatory" view="RadioButton"><Expressions/><location startLine="87" startOffset="8" endLine="91" endOffset="61"/></Target><Target id="@+id/edit_med_notes" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="100" startOffset="8" endLine="105" endOffset="33"/></Target></Targets></Layout>

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_comprimido_search" modulePackage="com.example.cuida" filePath="app/src/main/res/layout/item_comprimido_search.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.LinearLayout"><Targets><Target tag="layout/item_comprimido_search_0" view="LinearLayout"><Expressions/><location startLine="1" startOffset="0" endLine="15" endOffset="14"/></Target><Target id="@+id/text_pill_name" view="TextView"><Expressions/><location startLine="7" startOffset="4" endLine="13" endOffset="50"/></Target></Targets></Layout>

View File

@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="dialog_add_medication" modulePackage="com.example.cuida" filePath="app/src/main/res/layout/dialog_add_medication.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.LinearLayout"><Targets><Target tag="layout/dialog_add_medication_0" view="LinearLayout"><Expressions/><location startLine="1" startOffset="0" endLine="84" endOffset="14"/></Target><Target id="@+id/edit_med_name" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="13" startOffset="8" endLine="17" endOffset="46"/></Target><Target id="@+id/text_med_time" view="TextView"><Expressions/><location startLine="27" startOffset="4" endLine="36" endOffset="43"/></Target><Target id="@+id/radio_group_route" view="RadioGroup"><Expressions/><location startLine="45" startOffset="4" endLine="68" endOffset="16"/></Target><Target id="@+id/radio_oral" view="RadioButton"><Expressions/><location startLine="51" startOffset="8" endLine="55" endOffset="49"/></Target><Target id="@+id/radio_topical" view="RadioButton"><Expressions/><location startLine="57" startOffset="8" endLine="61" endOffset="49"/></Target><Target id="@+id/radio_inhalatory" view="RadioButton"><Expressions/><location startLine="63" startOffset="8" endLine="67" endOffset="61"/></Target><Target id="@+id/edit_med_notes" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="76" startOffset="8" endLine="81" endOffset="33"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="dialog_add_medication" modulePackage="com.example.cuida" filePath="app/src/main/res/layout/dialog_add_medication.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.LinearLayout"><Targets><Target tag="layout/dialog_add_medication_0" view="LinearLayout"><Expressions/><location startLine="1" startOffset="0" endLine="108" endOffset="14"/></Target><Target id="@+id/layout_med_name" view="com.google.android.material.textfield.TextInputLayout"><Expressions/><location startLine="16" startOffset="12" endLine="29" endOffset="67"/></Target><Target id="@+id/edit_med_name" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="24" startOffset="16" endLine="28" endOffset="54"/></Target><Target id="@+id/recycler_search_results" view="androidx.recyclerview.widget.RecyclerView"><Expressions/><location startLine="41" startOffset="8" endLine="48" endOffset="62"/></Target><Target id="@+id/text_med_time" view="TextView"><Expressions/><location startLine="51" startOffset="4" endLine="60" endOffset="43"/></Target><Target id="@+id/radio_group_route" view="RadioGroup"><Expressions/><location startLine="69" startOffset="4" endLine="92" endOffset="16"/></Target><Target id="@+id/radio_oral" view="RadioButton"><Expressions/><location startLine="75" startOffset="8" endLine="79" endOffset="49"/></Target><Target id="@+id/radio_topical" view="RadioButton"><Expressions/><location startLine="81" startOffset="8" endLine="85" endOffset="49"/></Target><Target id="@+id/radio_inhalatory" view="RadioButton"><Expressions/><location startLine="87" startOffset="8" endLine="91" endOffset="61"/></Target><Target id="@+id/edit_med_notes" view="com.google.android.material.textfield.TextInputEditText"><Expressions/><location startLine="100" startOffset="8" endLine="105" endOffset="33"/></Target></Targets></Layout>

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="item_comprimido_search" modulePackage="com.example.cuida" filePath="app/src/main/res/layout/item_comprimido_search.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.LinearLayout"><Targets><Target tag="layout/item_comprimido_search_0" view="LinearLayout"><Expressions/><location startLine="1" startOffset="0" endLine="15" endOffset="14"/></Target><Target id="@+id/text_pill_name" view="TextView"><Expressions/><location startLine="7" startOffset="4" endLine="13" endOffset="50"/></Target></Targets></Layout>

View File

@@ -1 +1 @@
[{"key":"com/google/firebase/appcheck/AppCheckTokenResult.class","name":"com/google/firebase/appcheck/AppCheckTokenResult.class","size":546,"crc":1721583355},{"key":"com/google/firebase/appcheck/interop/AppCheckTokenListener.class","name":"com/google/firebase/appcheck/interop/AppCheckTokenListener.class","size":333,"crc":1324441290},{"key":"com/google/firebase/appcheck/interop/BuildConfig.class","name":"com/google/firebase/appcheck/interop/BuildConfig.class","size":568,"crc":444197344},{"key":"com/google/firebase/appcheck/interop/InteropAppCheckTokenProvider.class","name":"com/google/firebase/appcheck/interop/InteropAppCheckTokenProvider.class","size":625,"crc":-2051022501}]
[{"key":"com/google/firebase/appcheck/AppCheckTokenResult.class","name":"com/google/firebase/appcheck/AppCheckTokenResult.class","size":546,"crc":1721583355},{"key":"com/google/firebase/appcheck/interop/AppCheckTokenListener.class","name":"com/google/firebase/appcheck/interop/AppCheckTokenListener.class","size":333,"crc":1324441290},{"key":"com/google/firebase/appcheck/interop/BuildConfig.class","name":"com/google/firebase/appcheck/interop/BuildConfig.class","size":568,"crc":-620208925},{"key":"com/google/firebase/appcheck/interop/InteropAppCheckTokenProvider.class","name":"com/google/firebase/appcheck/interop/InteropAppCheckTokenProvider.class","size":806,"crc":-220511869}]

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