Compare commits

..

No commits in common. "1892d5d8f8d83e8e7a5337ceb9a2bd5e82b069cc" and "91645d6da519f3cb900fd268b41bfc098e59f5b0" have entirely different histories.

6 changed files with 11 additions and 94 deletions

View File

@ -5,7 +5,6 @@
<option name="linkedExternalProjectsSettings"> <option name="linkedExternalProjectsSettings">
<GradleProjectSettings> <GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$" /> <option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$PROJECT_DIR$/../../../../workspace/gradle-8.2" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> <option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules"> <option name="modules">
<set> <set>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" > xmlns:tools="http://schemas.android.com/tools">
<application <application
android:allowBackup="true" android:allowBackup="true"
@ -11,10 +11,7 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.MedicalHealth" android:theme="@style/Theme.MedicalHealth"
tools:targetApi="31" > tools:targetApi="31">
<activity
android:name=".IniciarSesionActivity"
android:exported="false" />
<activity <activity
android:name=".EliminarActivity" android:name=".EliminarActivity"
android:exported="false" /> android:exported="false" />
@ -26,7 +23,7 @@
android:exported="false" /> android:exported="false" />
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true" > android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/tv_titulo"/>
<corners android:radius="30dp"/>
</shape>

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke
android:width="1dp" />
<solid android:color="#ffffff" />
<padding
android:left="1dp"
android:right="1dp"
android:bottom="1dp"
android:top="1dp" />
<corners android:radius="30dp" />
</shape>

View File

@ -1,70 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".MainActivity" tools:context=".MainActivity">
android:orientation="vertical"
>
<TextView
android:layout_width="match_parent"
android:layout_marginTop="180dp"
android:layout_height="wrap_content"
android:text="@string/activity_iniciar_sesion_titulo"
android:textSize="40sp"
android:textColor="@color/tv_titulo"
android:gravity="center_horizontal"
/>
<EditText
android:id="@+id/tv_usuario"
android:paddingStart="10dp"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/radius_tv"
android:hint="@string/et_usuario"
android:textColorHint="@color/tv_titulo"
android:textSize="25sp" />
<EditText
android:id="@+id/tv_contrasena"
android:layout_marginTop="25dp"
android:background="@drawable/radius_tv"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:hint="@string/et_contrasena"
android:textColorHint="@color/tv_titulo"
android:textSize="25sp"
android:paddingStart="10dp"
/>
<Button
android:id="@+id/btn_iniciar_sesion"
android:layout_marginTop="25dp"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:text="@string/btn_iniciar_sesion"
android:layout_gravity="center_horizontal"
android:background="@drawable/radius_btn"
android:backgroundTint="@color/tv_titulo"
/>
<TextView <TextView
android:layout_marginTop="25dp"
android:id="@+id/tv_registrarme"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/txt_registrarme" android:text="Hello World!"
android:layout_gravity="center_horizontal" app:layout_constraintBottom_toBottomOf="parent"
android:textSize="15sp" app:layout_constraintEnd_toEndOf="parent"
/> app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>

View File

@ -14,12 +14,4 @@
<string name="bt_cancelar">Cancelar</string> <string name="bt_cancelar">Cancelar</string>
<string name="eliminar_paciente_titulo">Elimina a un paciente</string> <string name="eliminar_paciente_titulo">Elimina a un paciente</string>
<string name="bt_eliminar">Confirmar</string> <string name="bt_eliminar">Confirmar</string>
<!--Main acitvity -> Iniciar sesion activity-->
<string name="activity_iniciar_sesion_titulo">Iniciar Sesion</string>
<string name="et_usuario">Usuario</string>
<string name="et_contrasena">Contraseña</string>
<string name="btn_iniciar_sesion">Iniciar Sesion</string>
<string name="txt_registrarme">Registrarme</string>
</resources> </resources>