parent
5975fe39de
commit
1c5d2276ef
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<solid android:color="@color/white" />
|
||||||
|
<corners android:radius="10dp" />
|
||||||
|
<stroke android:width="1dp"
|
||||||
|
android:color="@color/grey"/>
|
||||||
|
</shape>
|
@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/btnReturn"
|
||||||
|
android:layout_width="100dp"
|
||||||
|
android:layout_height="60dp"
|
||||||
|
android:layout_gravity="start"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:backgroundTint="@color/grey"
|
||||||
|
android:text="@string/retour"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintHorizontal_bias="0.948"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
tools:ignore="MissingConstraints">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:layout_marginBottom="15dp"
|
||||||
|
android:fontFamily="@font/math_educ_font"
|
||||||
|
android:text="@string/connexion"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="40sp"/>
|
||||||
|
|
||||||
|
<!--<TextView
|
||||||
|
android:id="@+id/errorTextView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="15dp"
|
||||||
|
android:text=""
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:textColor="@android:color/holo_red_dark"
|
||||||
|
android:textSize="20sp" /> -->
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/nickname"
|
||||||
|
android:layout_width="320dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/rounded_corner"
|
||||||
|
android:hint="@string/nom_d_utilisateur"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:inputType="text"
|
||||||
|
android:minHeight="50dp"
|
||||||
|
android:autofillHints=""
|
||||||
|
tools:ignore="RtlSymmetry" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/password"
|
||||||
|
android:layout_width="320dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="15dp"
|
||||||
|
android:background="@drawable/rounded_corner"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:hint="@string/mot_de_passe"
|
||||||
|
android:inputType="textPassword"
|
||||||
|
android:minHeight="50dp"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:autofillHints=""
|
||||||
|
tools:ignore="RtlSymmetry" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/loginButton"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="13dp"
|
||||||
|
android:backgroundTint="@color/blue"
|
||||||
|
android:text="@string/se_connecter" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/registerButton"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="3dp"
|
||||||
|
android:backgroundTint="@color/blue"
|
||||||
|
android:text="@string/s_inscrire" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -0,0 +1,82 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<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="350dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
android:background="@drawable/rounded_corner"
|
||||||
|
tools:ignore="MissingConstraints">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:layout_marginBottom="15dp"
|
||||||
|
android:paddingTop="2dp"
|
||||||
|
android:fontFamily="@font/math_educ_font"
|
||||||
|
android:text="@string/creer_compte"
|
||||||
|
android:textColor="@color/black"
|
||||||
|
android:textSize="40sp"/>
|
||||||
|
|
||||||
|
<!--<TextView
|
||||||
|
android:id="@+id/errorTextView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="15dp"
|
||||||
|
android:text=""
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:textColor="@android:color/holo_red_dark"
|
||||||
|
android:textSize="20sp" /> -->
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/nickname"
|
||||||
|
android:layout_width="320dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:background="@drawable/rounded_corner"
|
||||||
|
android:hint="@string/nom_d_utilisateur"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:inputType="text"
|
||||||
|
android:minHeight="50dp"
|
||||||
|
android:autofillHints=""
|
||||||
|
tools:ignore="RtlSymmetry" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/password"
|
||||||
|
android:layout_width="320dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="18dp"
|
||||||
|
android:background="@drawable/rounded_corner"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:hint="@string/mot_de_passe"
|
||||||
|
android:inputType="textPassword"
|
||||||
|
android:minHeight="50dp"
|
||||||
|
android:paddingStart="8dp"
|
||||||
|
android:autofillHints=""
|
||||||
|
tools:ignore="RtlSymmetry" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/loginButton"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:layout_marginTop="13dp"
|
||||||
|
android:backgroundTint="@color/blue"
|
||||||
|
android:text="@string/enregistrer" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/registerButton"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="1dp"
|
||||||
|
android:backgroundTint="@color/blackgrey"
|
||||||
|
android:text="@string/fermer" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
Loading…
Reference in new issue