|
20 | 20 | android:layout_width="wrap_content" |
21 | 21 | android:layout_height="wrap_content" |
22 | 22 | android:layout_marginTop="80dp" |
| 23 | + android:textStyle="bold" |
23 | 24 | android:layout_marginBottom="16dp" |
24 | 25 | android:text="@string/login_special_title" |
25 | 26 | android:textColor="@color/login_special_title" |
|
67 | 68 | app:layout_constraintTop_toTopOf="parent"> |
68 | 69 | <androidx.appcompat.widget.AppCompatEditText |
69 | 70 | android:id="@+id/editID" |
| 71 | + android:maxLines="1" |
70 | 72 | android:layout_width="match_parent" |
71 | 73 | android:onTextChanged="@{(text, start, before, count) -> loginViewModel.onIDTextChanged(text)}" |
72 | 74 | android:text="@={loginViewModel.editID}" |
73 | 75 | android:layout_height="wrap_content" |
74 | 76 | android:textSize="12dp" |
| 77 | + android:inputType="text" |
75 | 78 | tools:ignore="SpUsage"/> |
76 | 79 | </com.google.android.material.textfield.TextInputLayout> |
77 | 80 | <com.google.android.material.textfield.TextInputLayout |
|
93 | 96 | android:layout_width="match_parent" |
94 | 97 | android:layout_height="wrap_content" |
95 | 98 | android:textSize="12dp" |
| 99 | + android:inputType="textPassword" |
| 100 | + android:maxLines="1" |
96 | 101 | tools:ignore="SpUsage"/> |
97 | 102 | </com.google.android.material.textfield.TextInputLayout> |
98 | 103 |
|
|
105 | 110 | android:enabled="@{safeUnbox(loginViewModel.btnEnableLogin)? true : false}" |
106 | 111 | android:onClick="@{()->loginViewModel.login()}" |
107 | 112 | android:text="@string/login" |
| 113 | + android:shadowColor="#4c000000" |
| 114 | + android:shadowRadius="50" |
108 | 115 | android:textColor="@android:color/white" |
109 | 116 | android:textSize="16dp" |
110 | 117 | app:layout_constraintTop_toBottomOf="@+id/editPWLayout" |
|
0 commit comments