Skip to content

Commit eaf6b52

Browse files
committed
接入WorkManager实现版本更新功能
1 parent 93da532 commit eaf6b52

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/src/main/res/layout/activity_login.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@
3636
android:layout_height="wrap_content"
3737
android:layout_marginStart="@dimen/dp_20"
3838
android:layout_marginTop="@dimen/dp_20"
39-
android:layout_marginEnd="@dimen/dp_20">
39+
android:layout_marginEnd="@dimen/dp_20"
40+
app:boxBackgroundColor="@android:color/white">
4041

4142
<com.google.android.material.textfield.TextInputEditText
4243
android:id="@+id/mUserNameEditText"
4344
android:layout_width="match_parent"
4445
android:layout_height="match_parent"
46+
android:background="@null"
4547
android:hint="@string/username"
4648
android:singleLine="true"
4749
android:text="@={userLoginModel.username}" />
@@ -54,19 +56,21 @@
5456
android:layout_marginLeft="@dimen/dp_20"
5557
android:layout_marginTop="@dimen/dp_20"
5658
android:layout_marginRight="@dimen/dp_20"
59+
app:boxBackgroundColor="@android:color/white"
5760
app:passwordToggleEnabled="true">
5861

5962
<com.google.android.material.textfield.TextInputEditText
6063
android:id="@+id/mPasswordEditText"
6164
android:layout_width="match_parent"
6265
android:layout_height="match_parent"
66+
android:background="@null"
6367
android:hint="@string/password"
6468
android:inputType="textPassword"
6569
android:singleLine="true"
6670
android:text="@={userLoginModel.password}" />
6771
</com.google.android.material.textfield.TextInputLayout>
6872

69-
<Button
73+
<androidx.appcompat.widget.AppCompatButton
7074
android:id="@+id/mSignInBt"
7175
android:layout_width="match_parent"
7276
android:layout_height="@dimen/dp_44"

0 commit comments

Comments
 (0)