zoukankan      html  css  js  c++  java
  • 第二次冲刺 03

    第三天冲刺

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

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

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

    <TableLayout android:id="@+id/tableLayout1"

         android:layout_width="fill_parent"

         android:layout_height="fill_parent"

         xmlns:android="http://schemas.android.com/apk/res/android"

         android:background="@drawable/mm"   

         android:gravity="center_vertical"

         android:stretchColumns="0,3"

        

         >

         <!-- 第一行 -->

         <TableRow android:id="@+id/tableRow1"

             android:layout_width="wrap_content"

             android:layout_height="wrap_content">

             <TextView/>

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

                  android:id="@+id/textView1"

                  android:layout_width="wrap_content"

                  android:textSize="25dp"

                  android:layout_height="wrap_content"

                  />

             <EditText android:id="@+id/editText1"

                  android:textSize="25dp"

                  android:layout_width="wrap_content"

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

             <TextView />

         </TableRow>

         <!-- 第二行 -->   

         <TableRow android:id="@+id/tableRow2"

             android:layout_width="wrap_content"

             android:layout_height="wrap_content">

             <TextView/>

             <TextView android:text="密    码:"

                  android:id="@+id/textView2"

                  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:id="@+id/editText2"

                  android:inputType="textPassword"/>

             <TextView />

         </TableRow>

         <!-- 第3行 -->

         <TableRow android:id="@+id/tableRow3"

             android:layout_width="wrap_content"

             android:layout_height="wrap_content">

             <TextView/>

             <Button android:text="登录"

                  android:id="@+id/button1"

                  android:layout_width="wrap_content"

                  android:layout_height="wrap_content"/>

             <Button android:text="退出"

                  android:id="@+id/button2"

                  android:layout_width="wrap_content"

                  android:layout_height="wrap_content"/>

             <TextView />

         </TableRow>

    </TableLayout>

     

     

     

  • 相关阅读:
    日志格式设计
    域!!!
    Sql Server 2000 中游标的使用示例
    微软下一代操作系统Windows 7仅占25MB空间!
    添加aspnet_isapi.dll的映射时“确定”按钮不可用的解决方案
    巧用Array对象来实现字符串的反转
    [有人帮我说明了原因,明天找人测试一下]紧急求助!!(请您帮看看我的一个在线考试系统的部分代码是否有问题啊?)
    给站长的一点建议
    用SQL SERVER中的的一函数实现表中数据记录随机排序
    使用内嵌资源
  • 原文地址:https://www.cnblogs.com/lipengpengpeng/p/5606813.html
Copyright © 2011-2022 走看看