zoukankan      html  css  js  c++  java
  • 家庭记账本第二次

    <?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"
        xmlns:app="http://schemas.android.com/apk/res-auto">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:layout_alignParentTop="true">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal">
                <TextView
                    android:layout_width="150dp"
                    android:layout_height="80dp"
                    android:layout_marginLeft="10dp"
                    android:layout_alignParentLeft="true"
                    android:gravity="center"
                    android:singleLine="true"
                    android:textSize="35sp"
                    android:text="Title"
                    android:ellipsize="marquee" />
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="80dp"
                    android:layout_toRightOf="@+id/tv_title"
                    android:layout_marginLeft="15dp"
                    android:textSize="20sp"
                    android:gravity="center"
                    android:text="Date"/>
    
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="80dp"
                    android:text="Money"
                    android:textSize="30sp"
                    android:layout_marginRight="20dp"
                    android:layout_alignParentRight="true"
                    android:gravity="center"/>
            </LinearLayout>
            <ListView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/lv_list">
            </ListView>
        </LinearLayout>
        <LinearLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:layout_alignParentBottom="true">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal">
        <Button
            android:id="@+id/fabt_shouru"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="shouru"
            android:layout_weight="1"
            >
        </Button>
        <Button
            android:id="@+id/fabt_qingkong"
            android:layout_weight="1"
            android:text="qingkong"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            >
        </Button>
        <Button
            android:id="@+id/fabt_zhichu"
            android:layout_weight="1"
            android:text="zhichu"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            >
        </Button>
            </LinearLayout>
        </LinearLayout>
    </RelativeLayout>
  • 相关阅读:
    WinSCP命令行操作
    Android SDK platforms build-tools等镜像下载
    Ubuntu 18.04 下配置 HAXM 加速 Android模拟器
    HDU 2222 Keywords Search
    获取Android自己写好了的apk以及反编译
    Linux下几个常用的快捷键,真的很实用
    Android项目实战--手机卫士18--读取用户的短信内容以及短信备份
    高仿“点触验证码”做的一个静态Html例子
    我的华为面试经历——技术服务
    数据库日期类型转换–HSQL
  • 原文地址:https://www.cnblogs.com/chaogehahaha/p/14915524.html
Copyright © 2011-2022 走看看