|
@@ -0,0 +1,101 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout 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">
|
|
|
+
|
|
|
+ <data>
|
|
|
+
|
|
|
+ <variable
|
|
|
+ name="vm"
|
|
|
+ type="com.quansu.heifengwuliu.vmodel.BillDetailsVModel" />
|
|
|
+ </data>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/ic_account_one"
|
|
|
+ android:layout_height="118dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="入账合计(元)"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="27sp"
|
|
|
+ android:layout_marginTop="9dp"
|
|
|
+ android:text="@{vm.info.money_in}"
|
|
|
+ tools:text="20000"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="支出合计(元)"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="27sp"
|
|
|
+ android:layout_marginTop="9dp"
|
|
|
+ tools:text="30000"
|
|
|
+ android:text="@{vm.info.money_out}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
+ android:id="@+id/refresh_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:paddingBottom="70dp"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ tools:listitem="@layout/item_bill" />
|
|
|
+
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</layout>
|