• 第一阶段冲刺1


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

     

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

        android:layout_width="fill_parent"

        android:layout_height="fill_parent"

        android:orientation="vertical">

     

        <LinearLayout

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:addStatesFromChildren="true">

     

            <TextView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="类型"

                android:textColor="?android:attr/textColorSecondary" />

     

            <EditText

                android:id="@+id/et_leixing"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="1"

                android:singleLine="true" />

        </LinearLayout>

     

        <LinearLayout

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:addStatesFromChildren="true">

     

            <TextView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="日期"

                android:textColor="?android:attr/textColorSecondary" />

     

            <EditText

                android:id="@+id/et_riqi"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="1"

                android:singleLine="true" />

        </LinearLayout>

     

        <LinearLayout

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:addStatesFromChildren="true">

     

            <TextView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="金额"

                android:textColor="?android:attr/textColorSecondary" />

     

            <EditText

                android:id="@+id/et_jine"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="1"

                android:singleLine="true" />

        </LinearLayout>

     

        <LinearLayout

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:addStatesFromChildren="true">

     

            <TextView

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:text="备注"

                android:textColor="?android:attr/textColorSecondary" />

     

            <EditText

                android:id="@+id/et_beizhu"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:layout_weight="1"

                android:singleLine="true" />

        </LinearLayout>

     

        <LinearLayout

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:addStatesFromChildren="true"

            android:gravity="center">

     

            <Button

                android:id="@+id/bt_add"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:onClick="addbutton"

                android:text="添加">

            </Button>

     

            <Button

                android:id="@+id/bt_modify"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:onClick="updatebutton"

                android:text="修改">

            </Button>

     

            <Button

                android:id="@+id/bt_del"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:onClick="updatebutton"

                android:text="删除">

            </Button>

     

            <Button

                android:id="@+id/bt_query"

                android:layout_width="wrap_content"

                android:layout_height="wrap_content"

                android:onClick="querybutton"

                android:text="查询">

            </Button>

     

        </LinearLayout>

     

        <ListView

            android:id="@+id/listView"

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:padding="5dip">

        </ListView>

    </LinearLayout>

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

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

        android:id="@+id/linear"

        android:layout_width="fill_parent"

        android:layout_height="50dp"

        android:orientation="vertical"

        android:padding="5dip">

     

        <LinearLayout

            android:layout_weight="1"

            android:layout_height="wrap_content"

            android:layout_width="fill_parent"

            android:orientation="horizontal">

     

            <TextView

                android:id="@+id/tvID"

                android:layout_width="80dp"

                android:layout_height="wrap_content" />

     

            <TextView

                android:id="@+id/tvLX"

                android:layout_width="80dp"

                android:layout_height="wrap_content" />

     

            <TextView

                android:id="@+id/tvRQ"

                android:layout_width="80dp"

                android:layout_height="wrap_content" />

     

            <TextView

                android:id="@+id/tvJE"

                android:layout_width="80dp"

                android:layout_height="wrap_content" />

     

        </LinearLayout>

     

        <LinearLayout

            android:layout_weight="1"

            android:layout_height="wrap_content"

            android:layout_width="fill_parent"

            android:orientation="horizontal">

     

            <TextView

                android:id="@+id/tvBZ"

                android:layout_width="fill_parent"

                android:layout_height="fill_parent" />

     

        </LinearLayout>

     

    </LinearLayout>

  • 相关阅读:
    备胎的养成记KeepAlived实现热备负载
    入坑系列之HAProxy负载均衡
    将Error异常日志从普通日志中剥离
    一步一步在Windows中使用MyCat负载均衡 下篇
    年终的第一篇总结 结束南漂 写在2017
    Android实现TCP断点上传,后台C#服务实现接收
    为什么我会反对大家写工作日报
    ANSI C、ISO C、Standard C联系与区别
    c、c++ char*和wchar*互相转换
    宽字符与Unicode (c语言 汉语字符串长度)
  • 原文地址:https://www.cnblogs.com/zaixiachengxuyuan/p/13111110.html
Copyright © 2020-2023  润新知