Compare commits
3 Commits
91645d6da5
...
1892d5d8f8
Author | SHA1 | Date |
---|---|---|
sebastiancc27 | 1892d5d8f8 | |
sebastiancc27 | e72b9a70b0 | |
sebastiancc27 | 46f5fc3ab6 |
|
@ -5,6 +5,7 @@
|
||||||
<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>
|
||||||
|
|
|
@ -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,7 +11,10 @@
|
||||||
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" />
|
||||||
|
@ -23,7 +26,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" />
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?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>
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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>
|
|
@ -1,18 +1,70 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout
|
||||||
|
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="Hello World!"
|
android:text="@string/txt_registrarme"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:layout_gravity="center_horizontal"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
android:textSize="15sp"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
/>
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
|
@ -14,4 +14,12 @@
|
||||||
<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>
|
Loading…
Reference in New Issue