fragment_loginandregister_login.xml
2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00ffffff"
android:orientation="vertical"
android:paddingLeft="30dp"
android:paddingRight="30dp">
<LinearLayout
android:id="@+id/et_phonenumber_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:background="@drawable/input_bg"
android:gravity="center_horizontal"
android:orientation="horizontal"
android:paddingRight="10dp">
<EditText
android:id="@+id/et_phonenumber"
style="@style/login_register_edit_style"
android:hint="手机号"
android:maxLength="11"
android:imeOptions="actionNext"
android:inputType="phone" />
<ImageButton
android:id="@+id/phone_delete_btn"
android:layout_width="50dp"
android:layout_height="match_parent"
android:background="@null"
android:src="@mipmap/delete_btn"
android:visibility="invisible" />
</LinearLayout>
<LinearLayout
android:id="@+id/et_password_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/et_phonenumber_layout"
android:layout_marginTop="50dp"
android:background="@drawable/input_bg"
android:gravity="center_horizontal"
android:orientation="horizontal"
android:paddingRight="10dp">
<EditText
android:id="@+id/et_password"
style="@style/login_register_edit_style"
android:hint="密码"
android:maxLength="20"
android:inputType="textPassword"
android:textColor="@color/login_text_black" />
<ImageButton
android:id="@+id/password_delete_btn"
android:layout_width="50dp"
android:layout_height="match_parent"
android:background="@null"
android:src="@mipmap/delete_btn"
android:visibility="invisible" />
</LinearLayout>
<Button
android:id="@+id/btn_login"
style="@style/button_login_register_style"
android:layout_below="@id/et_password_layout"
android:layout_marginTop="90dp"
android:text="登 录" />
<TextView
android:id="@+id/tv_forget_pwd"
style="@style/text_forget_pwd_style"
android:layout_alignParentRight="true"
android:layout_below="@id/btn_login"
android:layout_marginTop="15dp"
android:text="@string/forget_pwd"
android:textColor="@color/btn_text_color" />
</RelativeLayout>