|
|
@@ -0,0 +1,650 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ tools:context="com.xzjmyk.pm.activity.ui.erp.activity.StatisticsActivity">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/top"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ android:background="@color/text_black">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_back"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableLeft="@drawable/back"
|
|
|
+ android:text="返回"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="20sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_date_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:clickable="true"
|
|
|
+ android:text="考勤统计"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <Spinner
|
|
|
+ android:id="@+id/oa_statistics_spinner"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_below="@id/top"
|
|
|
+ android:layout_toLeftOf="@+id/oa_statistics_rl"
|
|
|
+ android:padding="5dp" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/oa_statistics_rl"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_below="@+id/top"
|
|
|
+ android:layout_centerHorizontal="true">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/oa_statistics_back"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_toLeftOf="@+id/oa_statistics_tv"
|
|
|
+ android:clickable="true"
|
|
|
+ android:src="@drawable/mobile_back" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_statistics_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="星期一 2016-6-13" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/oa_statistics_next"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toRightOf="@+id/oa_statistics_tv"
|
|
|
+ android:clickable="true"
|
|
|
+ android:src="@drawable/next" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/oa_statistics_top_line"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
+ android:layout_below="@+id/oa_statistics_rl"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/oa_statistics"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/oa_statistics_top_line"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:background="@color/item_color2">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/name1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="正常打卡" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="请假" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="出差" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="外出" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="休息" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="未排班" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/progress1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/name1"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/num1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/progress1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/name2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toLeftOf="@+id/progress2"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="还未打卡" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="外勤打卡" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="迟到" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="早退" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="却卡" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="旷工" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/progress2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toLeftOf="@+id/num2"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <ProgressBar
|
|
|
+ style="@style/StyleProgressBarMini"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:background="@drawable/shape_progressbar_bg"
|
|
|
+ android:max="7"
|
|
|
+ android:minWidth="80dp"
|
|
|
+ android:progress="4" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/num2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="@dimen/oa_statistics_line" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/oa_statistics"
|
|
|
+ android:background="@color/item_color1"
|
|
|
+ android:padding="10dp">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/oa_statistics_date"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_date"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/oa_statistics_date"
|
|
|
+ android:gravity="center"
|
|
|
+ android:minHeight="@dimen/oa_statistics_date_minheight"
|
|
|
+ android:minWidth="@dimen/oa_statistics_date_minWidth"
|
|
|
+ android:text="日期" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_statistics_yeas"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/tv_date"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:minHeight="@dimen/oa_statistics_date_minheight"
|
|
|
+ android:minWidth="@dimen/oa_statistics_date_minWidth"
|
|
|
+ android:text="2016年" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oa_statistics_mothes"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/oa_statistics_yeas"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:minHeight="@dimen/oa_statistics_date_minheight"
|
|
|
+ android:minWidth="@dimen/oa_statistics_date_minWidth"
|
|
|
+ android:text="6月>" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toRightOf="@id/oa_statistics_date"
|
|
|
+ android:background="@drawable/oa_statistics_rl"
|
|
|
+ android:minHeight="@dimen/oa_statistics_date_minheight">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:background="@drawable/oa_mystatistics"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="我的考勤" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_toRightOf="@id/name"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="正常考勤" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="0天" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignLeft="@id/rl"
|
|
|
+ android:layout_below="@id/rl"
|
|
|
+ android:layout_marginTop="3px"
|
|
|
+ android:background="@drawable/oa_statistics_tag"
|
|
|
+ android:minHeight="60dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:text="迟到\n0次" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="2px"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:background="@color/item_color1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="早退\n0次" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="2px"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:background="@color/item_color1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="缺卡\n0次" />
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+</RelativeLayout>
|