Compare commits
3 Commits
91645d6da5
...
1892d5d8f8
Author | SHA1 | Date |
---|---|---|
sebastiancc27 | 1892d5d8f8 | |
sebastiancc27 | e72b9a70b0 | |
sebastiancc27 | 46f5fc3ab6 |
|
@ -5,6 +5,7 @@
|
|||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<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="modules">
|
||||
<set>
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.MedicalHealth"
|
||||
tools:targetApi="31" >
|
||||
<activity
|
||||
android:name=".IniciarSesionActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".EliminarActivity"
|
||||
android:exported="false" />
|
||||
|
|
|
@ -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"?>
|
||||
<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:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="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
|
||||
android:layout_marginTop="25dp"
|
||||
android:id="@+id/tv_registrarme"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Hello World!"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
android:text="@string/txt_registrarme"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textSize="15sp"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
|
@ -14,4 +14,12 @@
|
|||
<string name="bt_cancelar">Cancelar</string>
|
||||
<string name="eliminar_paciente_titulo">Elimina a un paciente</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>
|
Loading…
Reference in New Issue