Newer
Older
QingDaoSmartWell / app / src / main / res / layout / include_data_excel.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="@dimen/dp_80"
    android:layout_marginTop="@dimen/dp_5"
    android:background="@drawable/bg_stroke_layout_gray"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:background="#FAFAFA"
        android:weightSum="4">

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="抄表数"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />

        <View
            android:layout_width="1px"
            android:layout_height="match_parent"
            android:background="@color/mainBackColor" />

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="今日用水量"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />

        <View
            android:layout_width="1px"
            android:layout_height="match_parent"
            android:background="@color/mainBackColor" />

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="本月用水量"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />

        <View
            android:layout_width="1px"
            android:layout_height="match_parent"
            android:background="@color/mainBackColor" />

        <TextView
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="总用水量"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />
    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="1px"
        android:background="@color/mainBackColor" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">

        <TextView
            android:id="@+id/watchDataView"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="0"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />

        <View
            android:layout_width="1px"
            android:layout_height="match_parent"
            android:background="@color/mainBackColor" />

        <TextView
            android:id="@+id/dayDataView"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="0"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />

        <View
            android:layout_width="1px"
            android:layout_height="match_parent"
            android:background="@color/mainBackColor" />

        <TextView
            android:id="@+id/monthDataView"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="0"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />

        <View
            android:layout_width="1px"
            android:layout_height="match_parent"
            android:background="@color/mainBackColor" />

        <TextView
            android:id="@+id/totalDataView"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="0"
            android:textColor="@color/subTextColor"
            android:textSize="@dimen/miniFontSize" />
    </LinearLayout>
</LinearLayout>