|
16 | 16 | tools:context=".ui.LoginActivity"> |
17 | 17 |
|
18 | 18 | <TextView |
19 | | - android:id="@+id/tvSpecialTitle" |
20 | | - android:layout_width="wrap_content" |
21 | | - android:layout_height="wrap_content" |
22 | | - android:layout_marginTop="80dp" |
23 | | - android:layout_marginBottom="16dp" |
24 | | - android:text="@string/login_special_title" |
25 | | - android:textColor="@color/login_special_title" |
26 | | - android:textSize="26dp" |
27 | | - app:layout_constraintBottom_toTopOf="@+id/tvMiddleTitle" |
28 | | - app:layout_constraintLeft_toLeftOf="parent" |
29 | | - app:layout_constraintTop_toTopOf="parent" |
30 | | - app:layout_constraintVertical_bias="1" |
31 | | - tools:ignore="SpUsage" /> |
| 19 | + android:id="@+id/tvSpecialTitle" |
| 20 | + android:layout_width="wrap_content" |
| 21 | + android:layout_height="wrap_content" |
| 22 | + android:layout_marginTop="80dp" |
| 23 | + android:layout_marginBottom="16dp" |
| 24 | + android:text="@string/login_special_title" |
| 25 | + android:textColor="@color/login_special_title" |
| 26 | + android:textSize="26dp" |
| 27 | + app:layout_constraintBottom_toTopOf="@+id/tvMiddleTitle" |
| 28 | + app:layout_constraintLeft_toLeftOf="parent" |
| 29 | + app:layout_constraintTop_toTopOf="parent" |
| 30 | + app:layout_constraintVertical_bias="1" |
| 31 | + tools:ignore="SpUsage"/> |
32 | 32 |
|
33 | 33 | <TextView |
34 | | - android:id="@+id/tvMiddleTitle" |
35 | | - android:layout_width="wrap_content" |
36 | | - android:layout_height="wrap_content" |
37 | | - android:layout_marginBottom="16dp" |
38 | | - android:text="@string/login_middle_title" |
39 | | - android:textColor="@color/login_sub_title" |
40 | | - android:textSize="26dp" |
41 | | - app:layout_constraintBottom_toTopOf="@+id/tvBottomTitle" |
42 | | - app:layout_constraintLeft_toLeftOf="@+id/tvSpecialTitle" |
43 | | - tools:ignore="SpUsage" /> |
| 34 | + android:id="@+id/tvMiddleTitle" |
| 35 | + android:layout_width="wrap_content" |
| 36 | + android:layout_height="wrap_content" |
| 37 | + android:layout_marginBottom="16dp" |
| 38 | + android:text="@string/login_middle_title" |
| 39 | + android:textColor="@color/login_sub_title" |
| 40 | + android:textSize="26dp" |
| 41 | + app:layout_constraintBottom_toTopOf="@+id/tvBottomTitle" |
| 42 | + app:layout_constraintLeft_toLeftOf="@+id/tvSpecialTitle" |
| 43 | + tools:ignore="SpUsage"/> |
44 | 44 |
|
45 | 45 | <TextView |
46 | | - android:id="@+id/tvBottomTitle" |
47 | | - android:layout_width="wrap_content" |
48 | | - android:layout_height="wrap_content" |
49 | | - android:layout_marginBottom="82dp" |
50 | | - android:text="@string/login_bottom_title" |
51 | | - android:textColor="@color/login_sub_title" |
52 | | - android:textSize="26dp" |
53 | | - app:layout_constraintBottom_toTopOf="@+id/editIDLayout" |
54 | | - app:layout_constraintLeft_toLeftOf="@+id/tvMiddleTitle" |
55 | | - tools:ignore="SpUsage" /> |
| 46 | + android:id="@+id/tvBottomTitle" |
| 47 | + android:layout_width="wrap_content" |
| 48 | + android:layout_height="wrap_content" |
| 49 | + android:layout_marginBottom="82dp" |
| 50 | + android:text="@string/login_bottom_title" |
| 51 | + android:textColor="@color/login_sub_title" |
| 52 | + android:textSize="26dp" |
| 53 | + app:layout_constraintBottom_toTopOf="@+id/editIDLayout" |
| 54 | + app:layout_constraintLeft_toLeftOf="@+id/tvMiddleTitle" |
| 55 | + tools:ignore="SpUsage"/> |
56 | 56 | <com.google.android.material.textfield.TextInputLayout |
57 | | - android:id="@+id/editIDLayout" |
58 | | - android:layout_width="match_parent" |
59 | | - android:layout_height="wrap_content" |
60 | | - android:hint="@string/login_input_id_hint" |
61 | | - android:textColor="@android:color/black" |
62 | | - android:textColorHint="@color/login_edit_hint" |
63 | | - android:theme="@style/LoginEditTheme" |
64 | | - app:layout_constraintBottom_toBottomOf="parent" |
65 | | - app:layout_constraintLeft_toLeftOf="parent" |
66 | | - app:layout_constraintRight_toRightOf="parent" |
67 | | - app:layout_constraintTop_toTopOf="parent"> |
68 | | - <androidx.appcompat.widget.AppCompatEditText |
69 | | - android:id="@+id/editID" |
| 57 | + android:id="@+id/editIDLayout" |
70 | 58 | android:layout_width="match_parent" |
71 | | - android:onTextChanged="@{(text, start, before, count) -> loginViewModel.onIDTextChanged(text)}" |
72 | | - android:text="@={loginViewModel.editID}" |
73 | 59 | android:layout_height="wrap_content" |
74 | | - android:textSize="12dp" |
75 | | - tools:ignore="SpUsage" /> |
| 60 | + android:hint="@string/login_input_id_hint" |
| 61 | + android:textColor="@android:color/black" |
| 62 | + android:textColorHint="@color/login_edit_hint" |
| 63 | + android:theme="@style/LoginEditTheme" |
| 64 | + app:layout_constraintBottom_toBottomOf="parent" |
| 65 | + app:layout_constraintLeft_toLeftOf="parent" |
| 66 | + app:layout_constraintRight_toRightOf="parent" |
| 67 | + app:layout_constraintTop_toTopOf="parent"> |
| 68 | + <androidx.appcompat.widget.AppCompatEditText |
| 69 | + android:id="@+id/editID" |
| 70 | + android:layout_width="match_parent" |
| 71 | + android:onTextChanged="@{(text, start, before, count) -> loginViewModel.onIDTextChanged(text)}" |
| 72 | + android:text="@={loginViewModel.editID}" |
| 73 | + android:layout_height="wrap_content" |
| 74 | + android:textSize="12dp" |
| 75 | + tools:ignore="SpUsage"/> |
76 | 76 | </com.google.android.material.textfield.TextInputLayout> |
77 | 77 | <com.google.android.material.textfield.TextInputLayout |
78 | 78 | android:id="@+id/editPWLayout" |
|
87 | 87 | app:layout_constraintTop_toBottomOf="@+id/editIDLayout" |
88 | 88 | android:layout_height="wrap_content"> |
89 | 89 | <androidx.appcompat.widget.AppCompatEditText |
90 | | - android:id="@+id/editPW" |
91 | | - android:onTextChanged="@{(text, start, before, count) -> loginViewModel.onPWTextChanged(text)}" |
92 | | - android:text="@={loginViewModel.editPW}" |
93 | | - android:layout_width="match_parent" |
94 | | - android:layout_height="wrap_content" |
95 | | - android:textSize="12dp" |
96 | | - tools:ignore="SpUsage" /> |
| 90 | + android:id="@+id/editPW" |
| 91 | + android:onTextChanged="@{(text, start, before, count) -> loginViewModel.onPWTextChanged(text)}" |
| 92 | + android:text="@={loginViewModel.editPW}" |
| 93 | + android:layout_width="match_parent" |
| 94 | + android:layout_height="wrap_content" |
| 95 | + android:textSize="12dp" |
| 96 | + tools:ignore="SpUsage"/> |
97 | 97 | </com.google.android.material.textfield.TextInputLayout> |
98 | 98 |
|
99 | 99 |
|
|
0 commit comments