|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <TextView | 
|---|
|  |  |  | android:id="@+id/title" | 
|---|
|  |  |  | android:layout_width="match_parent" | 
|---|
|  |  |  | android:layout_height="0dp" | 
|---|
|  |  |  | android:layout_marginLeft="20dp" | 
|---|
|  |  |  | android:layout_marginRight="20dp" | 
|---|
|  |  |  | android:layout_weight="1.5" | 
|---|
|  |  |  | android:layout_weight="1.3" | 
|---|
|  |  |  | android:gravity="center" | 
|---|
|  |  |  | android:text="@string/login_title" | 
|---|
|  |  |  | android:textSize="30sp" | 
|---|
|  |  |  | 
|---|
|  |  |  | android:layout_height="0dp" | 
|---|
|  |  |  | android:layout_weight="1" | 
|---|
|  |  |  | android:orientation="vertical"> | 
|---|
|  |  |  | <LinearLayout | 
|---|
|  |  |  | android:id="@+id/nameLL" | 
|---|
|  |  |  | android:layout_width="match_parent" | 
|---|
|  |  |  | android:layout_height="wrap_content" | 
|---|
|  |  |  | android:layout_marginLeft="20dp" | 
|---|
|  |  |  | android:layout_marginTop="20dp" | 
|---|
|  |  |  | android:visibility="gone" | 
|---|
|  |  |  | android:layout_marginRight="20dp"> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <TextView | 
|---|
|  |  |  | android:layout_width="wrap_content" | 
|---|
|  |  |  | android:layout_height="wrap_content" | 
|---|
|  |  |  | android:text="账号:" | 
|---|
|  |  |  | android:textSize="@dimen/text_size" /> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <EditText | 
|---|
|  |  |  | android:id="@+id/login_name" | 
|---|
|  |  |  | android:layout_width="match_parent" | 
|---|
|  |  |  | android:layout_height="wrap_content" | 
|---|
|  |  |  | android:hint="请输入账号" | 
|---|
|  |  |  | android:maxLines="1" | 
|---|
|  |  |  | android:singleLine="true" | 
|---|
|  |  |  | android:text="zuoxiao" /> | 
|---|
|  |  |  | </LinearLayout> | 
|---|
|  |  |  | <LinearLayout | 
|---|
|  |  |  | android:layout_width="match_parent" | 
|---|
|  |  |  | android:layout_height="wrap_content" | 
|---|
|  |  |  | 
|---|
|  |  |  | android:layout_height="wrap_content" | 
|---|
|  |  |  | android:hint="初始密码为数字1-6" | 
|---|
|  |  |  | android:inputType="textPassword" | 
|---|
|  |  |  | android:text="" /> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | android:text="ZX@@123qwA" /> | 
|---|
|  |  |  | </LinearLayout> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | android:id="@+id/versionName" | 
|---|
|  |  |  | android:layout_width="wrap_content" | 
|---|
|  |  |  | android:layout_height="wrap_content" | 
|---|
|  |  |  | android:text="v2.0" | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | android:text="v2.0" /> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </LinearLayout> | 
|---|