• 第二次冲刺 08


    第八天冲刺

      昨天主要做了查找的内容,今天要做的是发布项目的实现

    下面是主要的代码

     

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

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

           android:orientation="vertical"

          android:layout_width="fill_parent"

           android:layout_height="fill_parent"

          android:padding="5dip"

          android:background="@drawable/mm"

           >

         

       <TextView android:id="@+id/username1"

             android:layout_width="80dip"

             android:layout_height="40dip"

              android:layout_marginRight="5dip"

             android:layout_marginTop="5dip"

             android:layout_marginBottom="5dip"

             android:textSize="16sp"

              android:gravity="left|center_vertical"

              android:text="用户名:"

          />

         

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

             android:layout_width="fill_parent"

              android:layout_height="40dip"

              android:layout_toRightOf="@id/username1"

             android:layout_alignParentRight="true"

             android:layout_alignTop="@id/username1"

              android:gravity="left|center_vertical"

          />

            <TextView android:id="@+id/pwd1"

              android:layout_width="80dip"

              android:layout_height="40dip"

              android:gravity="left|center_vertical"

             android:layout_below="@id/username1"

              android:layout_alignLeft="@id/username1"

              android:layout_marginRight="5dip"

              android:layout_marginBottom="5dip"

              android:text="密码:"

              android:textSize="16sp"

          />

         

          <EditText

              android:id="@+id/pwd2"

              android:layout_width="fill_parent"

              android:layout_height="40dip"

             android:layout_toRightOf="@id/pwd1"

             android:layout_alignParentRight="true"

             android:layout_alignTop="@id/pwd1"

              android:gravity="left|center_vertical"

              />

          <TextView android:id="@+id/name1"

              android:layout_width="80dip"

              android:layout_height="40dip"

              android:gravity="left|center_vertical"

             android:layout_below="@id/pwd1"

              android:layout_alignLeft="@id/pwd1"

              android:layout_marginRight="5dip"

              android:layout_marginBottom="5dip"

              android:text="姓名:"

              android:textSize="16sp"

          />

         

          <EditText

              android:id="@+id/name2"

              android:layout_width="fill_parent"

              android:layout_height="40dip"

             android:layout_toRightOf="@id/name1"

             android:layout_alignParentRight="true"

             android:layout_alignTop="@id/name1"

              android:gravity="left|center_vertical"

              />

       

         

         <TextView android:id="@+id/sex1"

              android:layout_width="80dip"

              android:layout_height="40dip"

              android:gravity="left|center_vertical"

             android:layout_below="@id/name1"

              android:layout_alignLeft="@id/name1"

              android:layout_marginRight="5dip"

              android:layout_marginBottom="5dip"

              android:text="性别:"

              android:textSize="16sp"

          />

         

          <EditText

              android:id="@+id/sex2"

              android:layout_width="fill_parent"

              android:layout_height="40dip"

             android:layout_toRightOf="@id/sex1"

             android:layout_alignParentRight="true"

             android:layout_alignTop="@id/sex1"

              android:gravity="left|center_vertical"

              />

         

          <TextView  android:id="@+id/tel1"

             android:layout_width="80dip"

              android:layout_height="40dip"

              android:gravity="left|center_vertical"

             android:layout_below="@id/sex1"

              android:layout_alignLeft="@id/sex1"

              android:layout_marginRight="5dip"

             android:layout_marginBottom="5dip"

                     android:text="电话:"

             android:textSize="16sp"

        />

        

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

             android:layout_width="fill_parent"

             android:layout_height="40dip"

             android:layout_toRightOf="@id/tel1"

             android:layout_alignParentRight="true"

             android:layout_alignTop="@id/tel1"

             android:gravity="center_vertical|left"

         />

        

         <TextView android:id="@+id/zhuanchang1"

             android:layout_width="80dip"

             android:layout_height="40dip"

             android:gravity="center_vertical|left"

             android:layout_marginRight="5dip"

             android:layout_below="@id/tel1"

             android:layout_marginBottom="5dip"

             android:textSize="16sp"

            android:text="专长"

         />

        

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

             android:layout_width="fill_parent"

             android:layout_height="40dip"

             android:layout_toRightOf="@id/zhuanchang1"

             android:layout_alignParentRight="true"

             android:layout_alignTop="@id/zhuanchang1"

             android:gravity="center_vertical|left"

         />

        

        <Button android:id="@+id/button3"

             android:layout_width="fill_parent"

             android:layout_height="wrap_content"

             android:text="保存"

             android:layout_below="@id/zhuanchang1"

             android:layout_alignParentLeft="true"

             android:layout_alignParentRight="true"

             android:onClick="goBack"

             />

     

       

     

       

        

     </RelativeLayout>

  • 相关阅读:
    如何用nodejs创建一个proxy 服务
    企业包分发-应用内安装时碰到的问题
    React-Native与Weex的比较
    前端炫酷动画展示利器(lottie)
    记录一个web开发工具集网页
    git 和 远程分支关联
    reference to 'X' is ambiguous 解决
    mac 下解压 .bin文件
    fabric 集成trello
    ES6 对象的创建及操作
  • 原文地址:https://www.cnblogs.com/lipengpengpeng/p/5606826.html
Copyright © 2020-2023  润新知