1010 android : focusableInTouchMode =" true"
1111 tools : context =" .ui.login.SignInActivity" >
1212
13- <androidx .constraintlayout.widget.ConstraintLayout
13+ <LinearLayout
1414 android : layout_width =" match_parent"
15- android : layout_height =" wrap_content" >
15+ android : layout_height =" wrap_content"
16+ android : orientation =" vertical" >
1617
17- <ProgressBar
18- android : id =" @+id/pbLoading"
19- style =" ?android:attr/progressBarStyleHorizontal"
20- android : layout_width =" 0dp"
18+ <LinearLayout
19+ android : layout_width =" match_parent"
2120 android : layout_height =" wrap_content"
22- android : indeterminate =" true"
23- android : visibility =" gone"
24- app : layout_constraintEnd_toEndOf =" parent"
25- app : layout_constraintStart_toStartOf =" parent"
26- app : layout_constraintTop_toTopOf =" parent"
27- tools : visibility =" visible" />
28-
29- <ImageView
30- android : id =" @+id/imageView"
31- android : layout_width =" 72dp"
32- android : layout_height =" 72dp"
33- android : layout_marginStart =" 16dp"
34- android : contentDescription =" @string/app_icon_content_desc"
35- android : tint =" @color/colorPrimary"
36- app : layout_constraintBottom_toTopOf =" @+id/textView20"
37- app : layout_constraintStart_toStartOf =" parent"
38- app : layout_constraintTop_toTopOf =" parent"
39- app : layout_constraintVertical_chainStyle =" packed"
40- app : srcCompat =" @drawable/ic_just_java_logo" />
21+ android : background =" @color/colorPrimaryDark"
22+ android : orientation =" vertical" >
23+
24+ <ImageView
25+ android : id =" @+id/imageView"
26+ android : layout_width =" 72dp"
27+ android : layout_height =" 72dp"
28+ android : layout_marginStart =" 16dp"
29+ android : layout_marginTop =" 16dp"
30+ android : contentDescription =" @string/app_icon_content_desc"
31+ android : tint =" #FFFFFF"
32+ app : srcCompat =" @drawable/ic_just_java_logo" />
4133
42- <TextView
43- android : id =" @+id/textView20"
44- android : layout_width =" wrap_content"
45- android : layout_height =" wrap_content"
46- android : layout_marginStart =" 16dp"
47- android : layout_marginBottom =" 8dp"
48- android : fontFamily =" @font/bree_serif"
49- android : text =" @string/app_name"
50- android : textColor =" @color/colorPrimary"
51- android : textSize =" 48sp"
52- app : layout_constraintBottom_toTopOf =" @+id/guideline"
53- app : layout_constraintStart_toStartOf =" parent"
54- app : layout_constraintTop_toBottomOf =" @+id/imageView" />
34+ <TextView
35+ android : id =" @+id/textView20"
36+ android : layout_width =" wrap_content"
37+ android : layout_height =" wrap_content"
38+ android : layout_marginStart =" 16dp"
39+ android : layout_marginBottom =" 8dp"
40+ android : fontFamily =" @font/bree_serif"
41+ android : text =" @string/app_name"
42+ android : textColor =" #FFFFFF"
43+ android : textSize =" 48sp" />
44+
45+ <ProgressBar
46+ android : id =" @+id/pbLoading"
47+ style =" ?android:attr/progressBarStyleHorizontal"
48+ android : layout_width =" match_parent"
49+ android : layout_height =" wrap_content"
50+ android : indeterminate =" true"
51+ android : visibility =" gone"
52+ app : layout_constraintEnd_toEndOf =" parent"
53+ app : layout_constraintStart_toStartOf =" parent"
54+ app : layout_constraintTop_toTopOf =" parent"
55+ tools : visibility =" visible" />
56+ </LinearLayout >
5557
5658 <TextView
5759 android : id =" @+id/textView9"
5860 style =" @style/AppTheme.Text.18Primary"
5961 android : layout_width =" wrap_content"
6062 android : layout_height =" wrap_content"
6163 android : layout_marginStart =" 16dp"
62- android : text =" Sign in to continue"
63- app : layout_constraintBottom_toTopOf =" @+id/guideline"
64- app : layout_constraintStart_toStartOf =" parent" />
65-
66- <androidx .constraintlayout.widget.Guideline
67- android : id =" @+id/guideline"
68- android : layout_width =" wrap_content"
69- android : layout_height =" wrap_content"
70- android : orientation =" horizontal"
71- app : layout_constraintGuide_percent =" 0.4" />
64+ android : layout_marginTop =" 32dp"
65+ android : text =" Sign in to continue" />
7266
7367 <com .google.android.material.textfield.TextInputLayout
7468 android : id =" @+id/tilEmail"
7569 style =" @style/AppTheme.InputField"
7670 android : layout_width =" match_parent"
7771 android : layout_height =" wrap_content"
7872 android : layout_marginLeft =" 16dp"
79- android : layout_marginTop =" 8dp "
73+ android : layout_marginTop =" 16dp "
8074 android : layout_marginRight =" 16dp"
81- android : hint =" @string/email_address"
82- app : layout_constraintHorizontal_bias =" 0.0"
83- app : layout_constraintLeft_toLeftOf =" parent"
84- app : layout_constraintRight_toRightOf =" parent"
85- app : layout_constraintTop_toTopOf =" @+id/guideline" >
75+ android : hint =" @string/email_address" >
8676
8777 <com .google.android.material.textfield.TextInputEditText
8878 android : id =" @+id/etEmail"
10191 android : layout_marginTop =" 8dp"
10292 android : layout_marginRight =" 16dp"
10393 android : hint =" @string/password"
104- app : layout_constraintLeft_toLeftOf =" parent"
105- app : layout_constraintRight_toRightOf =" parent"
106- app : layout_constraintTop_toBottomOf =" @+id/tilEmail"
10794 app : passwordToggleEnabled =" true" >
10895
10996 <com .google.android.material.textfield.TextInputEditText
114101 android : textSize =" 14sp" />
115102 </com .google.android.material.textfield.TextInputLayout>
116103
104+ <TextView
105+ android : id =" @+id/tvForgotPassword"
106+ android : layout_width =" wrap_content"
107+ android : layout_height =" wrap_content"
108+ android : layout_gravity =" end"
109+ android : layout_marginEnd =" 8dp"
110+ android : padding =" 8dp"
111+ android : text =" Forgot password?" />
112+
117113 <com .google.android.material.button.MaterialButton
118114 android : id =" @+id/btnSignIn"
119115 style =" @style/AppTheme.Button.FilledAccent"
120- android : layout_width =" 0dp "
116+ android : layout_width =" match_parent "
121117 android : layout_height =" 56dp"
122118 android : layout_marginLeft =" 32dp"
123119 android : layout_marginTop =" 8dp"
124120 android : layout_marginRight =" 32dp"
125- android : text =" Sign in"
126- app : layout_constraintLeft_toLeftOf =" parent"
127- app : layout_constraintRight_toRightOf =" parent"
128- app : layout_constraintTop_toBottomOf =" @+id/tvForgotPassword" />
121+ android : text =" Sign in" />
129122
130123 <com .google.android.gms.common.SignInButton
131124 android : id =" @+id/btnSignInGoogle"
132125 android : layout_width =" wrap_content"
133126 android : layout_height =" wrap_content"
134- android : layout_marginTop =" 8dp"
135- app : layout_constraintEnd_toEndOf =" parent"
136- app : layout_constraintStart_toStartOf =" parent"
137- app : layout_constraintTop_toBottomOf =" @+id/btnSignIn" />
127+ android : layout_gravity =" center"
128+ android : layout_marginTop =" 8dp" />
129+
130+ <Space
131+ android : layout_width =" match_parent"
132+ android : layout_height =" match_parent"
133+ android : layout_weight =" 1" />
138134
139135 <LinearLayout
140136 android : id =" @+id/llSignUp"
141137 android : layout_width =" wrap_content"
142138 android : layout_height =" wrap_content"
139+ android : layout_gravity =" center"
140+ android : layout_marginTop =" 16dp"
143141 android : layout_marginBottom =" 16dp"
144142 android : orientation =" horizontal"
145- android : padding =" 8dp"
146- app : layout_constraintBottom_toBottomOf =" parent"
147- app : layout_constraintEnd_toEndOf =" parent"
148- app : layout_constraintStart_toStartOf =" parent" >
143+ android : padding =" 8dp" >
149144
150145 <TextView
151146 android : id =" @+id/textView26"
165160 android : text =" @string/sign_up" />
166161 </LinearLayout >
167162
168- <TextView
169- android : id =" @+id/tvForgotPassword"
170- android : layout_width =" wrap_content"
171- android : layout_height =" wrap_content"
172- android : layout_marginEnd =" 8dp"
173- android : padding =" 8dp"
174- android : text =" Forgot password?"
175- app : layout_constraintEnd_toEndOf =" parent"
176- app : layout_constraintTop_toBottomOf =" @+id/tilPassword" />
177163
178- </androidx .constraintlayout.widget.ConstraintLayout >
164+ </LinearLayout >
179165</ScrollView >
0 commit comments