hch
2024-03-30 8307b1b2236a36d4dfb51faf6fe3d0faedb7617c
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="300dp"
    android:layout_height="280dp"
    android:layout_gravity="center"
    android:background="@drawable/com_xy_login_white_bg"
    android:orientation="vertical" >
 
    
    <RelativeLayout
        android:id="@+id/rl_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" 
        android:layout_marginTop="10dp"
        >
 
        <ImageView
            android:id="@+id/iv_back"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginTop="10dp"
            android:layout_centerVertical="true"
            android:src="@drawable/mg_ic_back" />
 
        <ImageView
            android:id="@+id/login_holder_mg_icon"
            android:layout_width="145dp"
            android:layout_height="45dp"
            android:layout_centerInParent="true"
            android:src="@drawable/login_logo" />
        
    </RelativeLayout>
    <LinearLayout 
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:layout_below="@id/rl_title"       
        android:gravity="center"
        >
            
       <LinearLayout 
            android:layout_width="250dp"
            android:layout_height="40dp"        
            android:orientation="horizontal"
            android:background="@drawable/xy_phone_regin_bg"
            android:gravity="center_vertical"
            android:paddingLeft="15dp"
            android:paddingRight="15dp"
            >
            
            <ImageView 
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="@drawable/mg_login_account"
                />
            
 
            <EditText 
                android:id="@+id/xy_reg_account_et"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@null"
                android:layout_marginLeft="10dp"
                android:textSize="14sp"
                android:inputType="text"
                android:hint="6-16个数字或者字母"
                />
            
        </LinearLayout>
        
        <RelativeLayout 
            android:layout_width="250dp"
            android:layout_height="40dp"        
            android:orientation="horizontal"
            android:layout_marginTop="15dp"
            android:background="@drawable/xy_phone_regin_bg"
            android:gravity="center_vertical"
            android:paddingLeft="15dp"
            android:paddingRight="15dp"
            >
            
            <ImageView 
                android:id="@+id/login_pwd_iv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:background="@drawable/mg_login_pwd"
                />
                                            
             <ImageView 
                android:id="@+id/hide_show_pwd_iv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:src="@drawable/mg_login_eye_close"
                android:layout_alignParentRight="true"
                />
            
            <EditText 
                android:id="@+id/xy_reg_pwd_et"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@null"
                android:layout_marginLeft="10dp"
                android:textSize="14sp"
                android:layout_centerVertical="true"
                android:inputType="textPassword"
                android:layout_toLeftOf="@id/hide_show_pwd_iv"
                android:layout_toRightOf="@id/login_pwd_iv"
                android:hint="6-20个数字或者字母"
                />
           
                    
        </RelativeLayout>
        
        <TextView 
                android:id="@+id/reg_next_tv"
                android:layout_width="250dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="15dp"
                android:text="注册并登录"
                android:gravity="center_horizontal"
                android:textColor="@color/white"
                android:textSize="14sp"
                android:background="@drawable/xy_quick_login_save_bg"
                android:paddingTop="10dp"
                android:paddingBottom="10dp"            
                />
        
        <LinearLayout 
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:gravity="center"
            android:layout_marginTop="15dp"
            >
            
            <ImageView
                android:id="@+id/onekeyregin_holder_check_xieyi_iv"
                android:layout_width="15dp"
                android:layout_height="15dp"                
                android:checked="true"
                android:src="@drawable/mg_register_protocol_checked" />
           <TextView
                 android:id="@+id/onekeyregin_holder_check_xieyi_tv"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"                
                 android:text=" 我已阅读并同意"
                 android:textColor="@color/gray"
                 android:textSize="12sp" />
            <TextView
                android:id="@+id/onekeyregin_holder_xieyi_tv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="12sp"
                android:text="《用户协议》"
                android:textColor="@color/xieyi"
                 />
            <TextView                
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"                
                 android:text="和"
                 android:textColor="@color/gray"
                 android:textSize="12sp" />
            <TextView
                android:id="@+id/onekeyregin_holder_yinsi_tv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="12sp"
                android:text="《隐私政策》"
                android:textColor="@color/xieyi"
                 />
        </LinearLayout>
        
        
    </LinearLayout>
 
</RelativeLayout>