第二次冲刺 03

第三天冲刺

 昨天主要做了对注册用户注册的一些条件,今天准备做登陆的页面。

下面是昨天写的一些代码:

<?xml version="1.0" encoding="utf-8"?>

<TableLayout android:

     android:layout_width="fill_parent"

     android:layout_height="fill_parent"

     xmlns:andro

     android:background="@drawable/mm"   

     android:gravity="center_vertical"

     android:stretchColumns="0,3"

    

     >

     <!-- 第一行 -->

     <TableRow android:

         android:layout_width="wrap_content"

         android:layout_height="wrap_content">

         <TextView/>

         <TextView android:text="用户名:"

              android:

              android:layout_width="wrap_content"

              android:textSize="25dp"

              android:layout_height="wrap_content"

              />

         <EditText android:

              android:textSize="25dp"

              android:layout_width="wrap_content"

              android:layout_height="wrap_content" android:minWidth="150dp"/>

         <TextView />

     </TableRow>

     <!-- 第二行 -->   

     <TableRow android:

         android:layout_width="wrap_content"

         android:layout_height="wrap_content">

         <TextView/>

         <TextView android:text="密    码:"

              android:

              android:textSize="25dp"

              android:layout_width="wrap_content"

              android:layout_height="wrap_content"/>

         <EditText android:layout_height="wrap_content"

              android:layout_width="wrap_content"

              android:textSize="25dp"

              android:

              android:inputType="textPassword"/>

         <TextView />

     </TableRow>

     <!-- 第3行 -->

     <TableRow android:

         android:layout_width="wrap_content"

         android:layout_height="wrap_content">

         <TextView/>

         <Button android:text="登录"

              android:

              android:layout_width="wrap_content"

              android:layout_height="wrap_content"/>

         <Button android:text="退出"

              android:

              android:layout_width="wrap_content"

              android:layout_height="wrap_content"/>

         <TextView />

     </TableRow>

</TableLayout>