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

    第四天冲刺

    昨天主要做了对注册用户的一些条件限定,今天要做登陆的一个页面

    下面是写的登陆的代码:

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

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

            android:id="@+id/tableLayout1"

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:gravity="center"

            android:background="@drawable/ll"

            >

     

            <TextView

                android:id="@+id/textView3"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="" />

     

            <TextView

                android:id="@+id/textView4"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="" />

     

            <TextView

                android:id="@+id/textView2"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="" />

     

            <TextView

                android:id="@+id/textView1"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="0.23"

                android:gravity="center"

                android:text="欢迎来到跨专业组队"

                android:textSize="25dp"

                />

     

            <TextView

                android:id="@+id/textView5"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="" />

     

            <TableRow

                android:id="@+id/tableRow1"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="1">

     

                <Button

                    android:id="@+id/button1"

                    android:layout_width="150dp"

                    android:layout_height="100dp"

                    android:text="注册"

                    android:layout_weight="1"

                    android:gravity="center_vertical"

                    />

     

                <Button

                    android:id="@+id/button2"

                    android:layout_width="150dp"

                    android:layout_height="100dp"

                    android:text="登录"

                    android:layout_weight="1"

                    android:gravity="center_vertical"

                    />

               

            </TableRow>

     

            <TableRow

                android:id="@+id/tableRow2"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="1"

                >

     

                <Button

                    android:id="@+id/button3"

                    android:layout_width="wrap_content"

                    android:layout_height="100dp"

                    android:text="项目查询"

                     android:layout_weight="1"

                    

                     />

     

                <Button

                    android:id="@+id/button4"

                    android:layout_width="wrap_content"

                    android:layout_height="100dp"

                    android:text="人员查询"

                     android:layout_weight="1"

                     android:gravity="center_vertical"

                     />

               

            </TableRow>

     

        </TableLayout>

  • 相关阅读:
    知识积累
    路由层
    数据表记录的增删改查
    连接数据库
    django数据请求
    力扣(LeetCode) 509. 斐波那契数
    力扣(LeetCode)69. x 的平方根
    力扣(LeetCode) 104. 二叉树的最大深度
    力扣(LeetCode) 27. 移除元素
    力扣(LeetCode) 136. 只出现一次的数字
  • 原文地址:https://www.cnblogs.com/lipengpengpeng/p/5606815.html
Copyright © 2011-2022 走看看