zoukankan      html  css  js  c++  java
  • JAVA日报

    换汤不换药之家庭记账本app开发(layout1)

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity">

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center" >

    <TextView
    android:id="@+id/tv_date"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="日期:"
    android:textColor="#000000"
    android:textSize="16sp" />

    <EditText
    android:id="@+id/edt_date"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:ems="10"
    android:singleLine="true" />
    </LinearLayout>

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center" >

    <TextView
    android:id="@+id/tv_eat"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="食品消费:"
    android:textColor="#000000"
    android:textSize="16sp" />

    <EditText
    android:id="@+id/edt_eat"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:ems="10"
    android:singleLine="true" />
    </LinearLayout>
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center" >

    <TextView
    android:id="@+id/tv_play"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="娱乐消费:"
    android:textColor="#000000"
    android:textSize="16sp" />

    <EditText
    android:id="@+id/edt_play"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:ems="10"
    android:singleLine="true" />
    </LinearLayout>

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center" >

    <TextView
    android:id="@+id/tv_clothes"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="衣物消费:"
    android:textColor="#000000"
    android:textSize="16sp" />

    <EditText
    android:id="@+id/edt_clothes"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:ems="10"
    android:singleLine="true" />
    </LinearLayout>
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center" >

    <TextView
    android:id="@+id/tv_live"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="水电消费:"
    android:textColor="#000000"
    android:textSize="16sp" />

    <EditText
    android:id="@+id/edt_live"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:ems="10"
    android:singleLine="true" />
    </LinearLayout>
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center" >

    <TextView
    android:id="@+id/tv_usual"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="其他消费:"
    android:textColor="#000000"
    android:textSize="16sp" />

    <EditText
    android:id="@+id/edt_usual"
    android:layout_width="200dp"
    android:layout_height="wrap_content"
    android:ems="10"
    android:singleLine="true" />
    </LinearLayout>
    <Button
    android:id="@+id/btn"
    android:text="提交"
    android:textSize="25dp"
    android:layout_margin="20dp"
    android:layout_alignParentBottom="true"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <Button
    android:id="@+id/btn2"
    android:text="显示以往信息"
    android:textSize="25dp"
    android:layout_margin="20dp"
    android:layout_alignParentBottom="true"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <Button
    android:id="@+id/btn3"
    android:text="按日期删除数据"
    android:textSize="25dp"
    android:layout_margin="20dp"
    android:layout_alignParentBottom="true"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>
    <Button
    android:id="@+id/btn4"
    android:text="消费汇总"
    android:textSize="25dp"
    android:layout_margin="20dp"
    android:layout_alignParentBottom="true"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>

    </LinearLayout>
  • 相关阅读:
    postman使用
    web应用服务器性能监控及调优
    软件测试的相关网站
    web测试点梳理
    HTTP协议详解
    Fidder详解之get和post请求
    浅谈HTTPS协议
    APP测试基本流程
    Python 拷贝对象(深拷贝deepcopy与浅拷贝copy)
    为学日益,为道日损
  • 原文地址:https://www.cnblogs.com/mumulailai/p/14909778.html
Copyright © 2011-2022 走看看