1 |
efrain |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
3 |
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
4 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
5 |
xmlns:tools="http://schemas.android.com/tools"
|
|
|
6 |
android:orientation="vertical"
|
|
|
7 |
|
|
|
8 |
android:layout_width="match_parent"
|
|
|
9 |
android:layout_height="match_parent"
|
|
|
10 |
android:background="@color/windowBackgroud"
|
|
|
11 |
tools:context=".fragment.SigninFragment">
|
|
|
12 |
|
|
|
13 |
<ImageView
|
|
|
14 |
android:id="@+id/signin_imageview_logo"
|
|
|
15 |
android:layout_width="0dp"
|
|
|
16 |
android:layout_height="0dp"
|
|
|
17 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
18 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
19 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
20 |
app:layout_constraintWidth_percent="0.4"
|
|
|
21 |
app:layout_constraintHeight_percent="0.3"
|
|
|
22 |
app:srcCompat="@drawable/ic_logo" />
|
|
|
23 |
|
|
|
24 |
<TextView
|
|
|
25 |
style="@style/textview_title1"
|
|
|
26 |
android:id="@+id/signin_textview_title"
|
|
|
27 |
android:layout_width="wrap_content"
|
|
|
28 |
android:layout_height="wrap_content"
|
|
|
29 |
android:layout_marginTop="20dp"
|
|
|
30 |
android:text="@string/signin_already_have_an_account"
|
|
|
31 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
32 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
33 |
app:layout_constraintTop_toBottomOf="@id/signin_imageview_logo" />
|
|
|
34 |
|
|
|
35 |
<EditText
|
|
|
36 |
style="@style/edittext_intro"
|
|
|
37 |
android:id="@+id/signin_edittext_email"
|
|
|
38 |
android:layout_width="0dp"
|
|
|
39 |
android:layout_height="wrap_content"
|
|
|
40 |
android:layout_marginTop="20dp"
|
|
|
41 |
android:ems="10"
|
|
|
42 |
android:inputType="textEmailAddress"
|
|
|
43 |
android:hint="@string/signin_email"
|
|
|
44 |
app:layout_constraintWidth_percent="0.8"
|
|
|
45 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
46 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
47 |
app:layout_constraintTop_toBottomOf="@id/signin_textview_title" />
|
|
|
48 |
|
|
|
49 |
<EditText
|
|
|
50 |
style="@style/edittext_intro"
|
|
|
51 |
android:id="@+id/signin_edittext_password"
|
|
|
52 |
android:layout_width="0dp"
|
|
|
53 |
android:layout_height="wrap_content"
|
|
|
54 |
android:layout_marginTop="20dp"
|
|
|
55 |
android:ems="10"
|
|
|
56 |
android:inputType="textPassword"
|
|
|
57 |
android:hint="@string/signin_password"
|
|
|
58 |
app:layout_constraintWidth_percent="0.8"
|
|
|
59 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
60 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
61 |
app:layout_constraintTop_toBottomOf="@id/signin_edittext_email" />
|
|
|
62 |
|
|
|
63 |
<Button
|
|
|
64 |
android:id="@+id/signin_button_sign_in"
|
|
|
65 |
android:layout_width="0dp"
|
|
|
66 |
android:layout_height="wrap_content"
|
|
|
67 |
android:layout_marginTop="20dp"
|
|
|
68 |
android:background="@drawable/rounded_button_intro"
|
|
|
69 |
android:fontFamily="sans-serif"
|
|
|
70 |
android:elevation="5dp"
|
|
|
71 |
android:padding="5dp"
|
|
|
72 |
android:text="@string/signin_sign_in"
|
|
|
73 |
android:textSize="14dp"
|
|
|
74 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
75 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
76 |
app:layout_constraintTop_toBottomOf="@id/signin_edittext_password"
|
|
|
77 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
78 |
|
|
|
79 |
<Button
|
|
|
80 |
android:id="@+id/signin_button_sign_up"
|
|
|
81 |
android:layout_width="0dp"
|
|
|
82 |
android:layout_height="wrap_content"
|
|
|
83 |
android:layout_marginTop="20dp"
|
|
|
84 |
android:background="@drawable/rounded_button_intro"
|
|
|
85 |
android:fontFamily="sans-serif"
|
|
|
86 |
android:elevation="5dp"
|
|
|
87 |
android:padding="5dp"
|
|
|
88 |
android:text="@string/signin_sign_up"
|
|
|
89 |
android:textSize="14dp"
|
|
|
90 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
91 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
92 |
app:layout_constraintTop_toBottomOf="@id/signin_button_sign_in"
|
|
|
93 |
app:layout_constraintWidth_percent="0.5" />
|
|
|
94 |
|
|
|
95 |
<ProgressBar
|
|
|
96 |
android:id="@+id/signin_progress_bar"
|
|
|
97 |
style="?android:attr/progressBarStyle"
|
|
|
98 |
android:layout_width="wrap_content"
|
|
|
99 |
android:layout_height="wrap_content"
|
|
|
100 |
android:elevation="8dp"
|
|
|
101 |
android:visibility="invisible"
|
|
|
102 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
103 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
104 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
105 |
app:layout_constraintTop_toTopOf="parent" />
|
|
|
106 |
|
|
|
107 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
108 |
|