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>
  • 相关阅读:
    Jmeter之Constant Timer与constant throughput timer的区别(转)
    JMeter Exception: java.net.BindException: Address already in use: connect(转)
    jmeter的jtl日志转html报告常见报错笔记
    jmeter 启动jmeter-server.bat远程调用报错: java.io.FileNotFoundException: rmi_keystore.jks (系统找不到指定的文件。)
    jmeter5.0生成html报告 快速入门
    图片转字符画 【学习ing】
    python生成个性二维码学习笔记
    Processing 3!
    Python Selenium定位元素常用解决办法
    js 获取元素坐标 和鼠标点击坐标
  • 原文地址:https://www.cnblogs.com/mumulailai/p/14909778.html
Copyright © 2011-2022 走看看