<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical"
|
tools:context=".ui.scale.MineScaleActivity">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:gravity="center_vertical"
|
android:id="@+id/tv_relation"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:layout_margin="@dimen/margin_common"
|
android:text="选择亲属"
|
android:textSize="@dimen/text_size_16"
|
android:textColor="@color/black_title"
|
android:textStyle="bold"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:textColor="@color/text_gray"
|
android:text="自己"
|
android:textSize="@dimen/text_size_16"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:layout_margin="@dimen/margin_common"
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp">
|
|
</ImageView>
|
</LinearLayout>
|
|
<Spinner
|
android:id="@+id/filter_spinner"
|
android:layout_margin="@dimen/margin_common"
|
android:layout_width="match_parent"
|
android:layout_height="50dp" />
|
|
<TextView
|
android:text="日期"
|
android:textSize="@dimen/text_size_15"
|
android:layout_margin="@dimen/margin_common"
|
android:textColor="@color/text_gray"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
android:gravity="center"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<LinearLayout
|
android:gravity="center"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:padding="@dimen/margin_common"
|
android:background="@drawable/shape_button_gray_dark"
|
android:layout_width="150dp"
|
android:gravity="center_vertical"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:src="@mipmap/ic_calendar"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"></ImageView>
|
|
<TextView
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:layout_marginRight="@dimen/margin_common_half"
|
android:background="@color/gray"
|
android:layout_width="1dp"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:id="@+id/tv_start"
|
android:gravity="center"
|
android:text="2020-20-20"
|
android:textColor="@color/black_title"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
</LinearLayout><LinearLayout
|
android:gravity="center"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:padding="@dimen/margin_common"
|
android:background="@drawable/shape_button_gray_dark"
|
android:layout_width="150dp"
|
android:gravity="center_vertical"
|
android:layout_height="wrap_content">
|
|
<ImageView
|
android:src="@mipmap/ic_calendar"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"></ImageView>
|
|
<TextView
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:layout_marginRight="@dimen/margin_common_half"
|
android:background="@color/gray"
|
android:layout_width="1dp"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:id="@+id/tv_end"
|
android:gravity="center"
|
android:text="2020-20-20"
|
android:textColor="@color/black_title"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
</LinearLayout>
|
|
</LinearLayout>
|
<TextView
|
android:id="@+id/tv_search"
|
android:layout_margin="@dimen/margin_common"
|
android:text="查询"
|
android:gravity="center"
|
android:padding="@dimen/margin_common_half"
|
android:textSize="@dimen/text_size_18"
|
android:textColor="@color/colorGreen"
|
android:background="@drawable/shape_button_green_light"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:id="@+id/tv_chat"
|
android:layout_margin="@dimen/margin_common"
|
android:text="查看患者动态数据报表"
|
android:gravity="center"
|
android:padding="@dimen/margin_common_half"
|
android:textSize="@dimen/text_size_18"
|
android:textColor="@color/white"
|
android:background="@drawable/shape_button_green"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"/>
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"/>
|
</LinearLayout>
|