一 代码
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:stretchColumns="1"
android:layout_height="match_parent">
<TableRow>
<TextView
android:layout_height="wrap_content"
android:text="账 号:" />
<EditText
android:id="@+id/account"
android:layout_height="wrap_content"
android:hint="输入你的账号" />
</TableRow>
<TableRow>
<TextView
android:layout_height="wrap_content"
android:text="密 码:" />
<EditText
android:id="@+id/password"