zoukankan      html  css  js  c++  java
  • 第七次

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

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

        android:layout_width="match_parent"

        android:layout_height="match_parent"

        android:background="@drawable/bg"

        android:padding="16dp"

        android:orientation="vertical">

        <LinearLayout

            android:layout_marginTop="130dp"

            android:layout_width="match_parent"

            android:layout_height="wrap_content">

            <TextView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="姓 名 :"

                android:textSize="18sp" />

            <EditText

                android:id="@+id/et_name"

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:hint="请输入姓名"

                android:textSize="16sp" />

        </LinearLayout>

        <LinearLayout

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:layout_marginBottom="10dp">

            <TextView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="年 龄:"

                android:textSize="18sp" />

            <EditText

                android:id="@+id/et_age"

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:hint="输入年龄"

                android:textSize="16sp" />

        </LinearLayout>

        <LinearLayout

            android:layout_width="match_parent"

            android:layout_height="wrap_content">

            <Button

                android:id="@+id/btn_add"

                android:layout_width="0dp"

                android:layout_height="wrap_content"

                android:layout_marginRight="2dp"

                android:layout_weight="1"

                android:background="#B9B9FF"

                android:text="添加"

                android:textSize="18sp"

                android:onClick="add" />

            <Button

                android:id="@+id/btn_query"

                android:layout_width="0dp"

                android:layout_height="wrap_content"

                android:layout_marginRight="2dp"

                android:layout_weight="1"

                android:background="#DCB5FF"

                android:text="查询"

                android:textSize="18sp"

                android:onClick="serch"/>

            <Button

                android:id="@+id/btn_update"

                android:layout_width="0dp"

                android:layout_height="wrap_content"

                android:layout_marginRight="2dp"

                android:layout_weight="1"

                android:background="#E6CAFF"

                android:text="修改"

                android:textSize="18sp"

                android:onClick="update"/>

            <Button

                android:id="@+id/btn_delete"

                android:layout_width="0dp"

                android:layout_height="wrap_content"

                android:layout_weight="1"

                android:background="#ACD6FF"

                android:text="删除"

                android:textSize="18sp"

                android:onClick="delete" />

        </LinearLayout>

        <TextView

            android:id="@+id/tv_show"

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:layout_marginTop="25dp"

            android:textSize="20sp" />

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

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

    android:layout_width="match_parent"

    android:layout_height="match_parent">

    <ImageView

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:background="@mipmap/ic_launcher"

        android:layout_marginTop="150dp"

        android:layout_centerHorizontal="true"/>

    <EditText

        android:layout_width="200dp"

        android:layout_height="wrap_content"

        android:text="请输入用户名:"

        android:layout_marginTop="250dp"

        android:layout_centerHorizontal="true"/>

    <EditText

        android:layout_width="200dp"

        android:layout_height="wrap_content"

        android:text="请输入用户名:"

        android:layout_marginTop="300dp"

        android:layout_centerHorizontal="true"/>

    <Button

        android:layout_width="100dp"

        android:layout_height="50dp"

        android:layout_centerHorizontal="true"

        android:layout_marginTop="350dp"

        android:text="登录"

        android:onClick="click"/>

    </RelativeLayout>

  • 相关阅读:
    新手如何运营自媒体?必看!
    公众号停更,短视频岗位暴增,2020年,新媒体人如何更值钱?
    别再费力讨好,先看看你的标题有没有入这些坑!
    经常反思自己的自媒体账号,为什么还只是几百的阅读量?
    文章发布显示“敏感词汇”怎么办?如何提升文章原创率?
    如何利用标题最大化引流,让属于自己原创、混剪视频的推荐量直线上升?
    【转载】JAVA字符串格式化-String.format()的使用
    【转载】浅谈大型网络入侵检测建设
    渗透测试工具 —— Nmap
    【转载】任意用户密码重置的10种常见姿势
  • 原文地址:https://www.cnblogs.com/www111/p/14044480.html
Copyright © 2011-2022 走看看