zoukankan      html  css  js  c++  java
  • 第二次冲刺 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>

  • 相关阅读:
    【LGR-070】洛谷 3 月月赛-官方题解
    洛谷P1034 矩形覆盖
    <C和指针---读书笔记9>
    <C和指针---读书笔记8>
    <C和指针---读书笔记7>
    <C和指针---读书笔记6>
    <C和指针---读书笔记1>
    <C和指针---读书笔记2>
    <C和指针---读书笔记5>
    <C和指针---读书笔记4>
  • 原文地址:https://www.cnblogs.com/lipengpengpeng/p/5606826.html
Copyright © 2011-2022 走看看