quero agora marcar as consultas e medicamentos para os apcientes

This commit is contained in:
2026-04-29 10:38:08 +01:00
parent daedc94484
commit 8f81c2fd7b
47 changed files with 359 additions and 568 deletions

View File

@@ -1,4 +1,4 @@
#Tue Apr 28 16:44:06 WEST 2026
#Wed Apr 29 08:41:18 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_gradient_header.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable/bg_gradient_header.xml
com.example.medcuida.pro.app-main-6\:/drawable/btn_outline_error.xml=/Users/230405/Desktop/med Cuida+/app/build/intermediates/packaged_res/debug/packageDebugResources/drawable/btn_outline_error.xml

View File

@@ -1,175 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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:fillViewport="true"
android:background="#FAFAFA">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="24dp">
<ImageButton
android:id="@+id/btn_voltar"
android:layout_width="48dp"
android:layout_height="48dp"
android:src="@drawable/ic_arrow_back"
android:background="?attr/selectableItemBackgroundBorderless"
app:tint="?attr/colorPrimary"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Editar Dados Pessoais"
android:textSize="24sp"
android:textStyle="bold"
android:textColor="#000000"
android:layout_marginTop="16dp"
android:layout_marginBottom="24dp"/>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="32dp">
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/img_perfil_edit"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/ic_user"
android:padding="2dp"
android:scaleType="centerCrop"
app:shapeAppearanceOverlay="@style/CircleImageView"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_edit_photo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignEnd="@id/img_perfil_edit"
android:layout_alignBottom="@id/img_perfil_edit"
android:src="@drawable/ic_camera"
app:fabSize="mini"
app:backgroundTint="?attr/colorPrimary"
app:tint="@color/white"
android:contentDescription="Editar foto"/>
</RelativeLayout>
<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_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nome"
android:inputType="textPersonName"
android:imeOptions="actionNext"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<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_specialty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Especialidade"
android:inputType="text"
android:imeOptions="actionNext"
android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:hint="Sexo">
<AutoCompleteTextView
android:id="@+id/edit_gender"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="none" />
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="16dp">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="8dp"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edit_horario_inicio"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Início"
android:focusable="false"
android:clickable="true"
android:inputType="none" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="8dp"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edit_horario_fim"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Fim"
android:focusable="false"
android:clickable="true"
android:inputType="none" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="32dp"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edit_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:enabled="false"
android:hint="Email (Não editável)"
android:inputType="textEmailAddress" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_guardar_alteracoes"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="GUARDAR ALTERAÇÕES"
android:textSize="14sp"
android:textStyle="bold"
app:cornerRadius="28dp"
app:backgroundTint="#000000"
android:textColor="@color/white"/>
</LinearLayout>
</ScrollView>