<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="用户名"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
<EditText
|
|
android:id="@+id/EditText_Username"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="用户名"
|
|
android:inputType="textPersonName" >
|
|
|
|
<requestFocus />
|
|
</EditText>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="密码"
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
<EditText
|
|
android:id="@+id/EditText_Password"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="密码"
|
|
android:inputType="textPassword" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/CheckBox_AutoSave"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="自动保存密码" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="clip_horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/Button_OK"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="登录" />
|
|
|
|
<Button
|
|
android:id="@+id/Button_Cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="取消" />
|
|
|
|
<Button
|
|
android:id="@+id/Button_SetUrl"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="设置"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|