|
|
@@ -1,405 +1,422 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:id="@+id/rootScroll"
|
|
|
+<com.handmark.pulltorefresh.library.PullToRefreshScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:id="@+id/oamain_ptrsv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="#EBE9E9">
|
|
|
+ android:background="#EBE9E9"
|
|
|
+ android:fillViewport="true">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/oamain_head_menu_ll"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
- <!--头布局-->
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/oa_rl_choose"
|
|
|
+ android:id="@+id/oamain_head_menu_ll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/toobar"
|
|
|
- android:background="#6A6A6A"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingTop="10dp">
|
|
|
-
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <!--头布局-->
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/oa_rl_choose"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_below="@+id/toobar"
|
|
|
+ android:background="#6A6A6A"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="10dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/signin"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="打卡签到"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/outoffice"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_2"
|
|
|
- android:gravity="center"
|
|
|
- android:text="外勤签到"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/worklog"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_4"
|
|
|
- android:gravity="center"
|
|
|
- android:text="工作日报"
|
|
|
- android:textColor="@color/white" />
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/oamain_more_menu_ll"
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:orientation="vertical">
|
|
|
- <ImageView
|
|
|
- android:id="@+id/oamain_more_menu_iv"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/signin"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_1"
|
|
|
android:gravity="center"
|
|
|
- android:src="@drawable/ic_oa_more"/>
|
|
|
+ android:text="打卡签到"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/more_menu_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:id="@+id/outoffice"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_2"
|
|
|
android:gravity="center"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:text="更多"
|
|
|
+ android:text="外勤签到"
|
|
|
android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/worklog"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_4"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="工作日报"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/oamain_more_menu_ll"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/oamain_more_menu_iv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:src="@drawable/ic_oa_more" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/more_menu_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="更多"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/stroke"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_6"
|
|
|
- android:gravity="center"
|
|
|
- android:text="我的行程"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/meeting"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_3"
|
|
|
- android:gravity="center"
|
|
|
- android:text="会议管理"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/erp"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_5"
|
|
|
- android:gravity="center"
|
|
|
- android:text="考勤单据"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/outtask"
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_chuchai"
|
|
|
- android:gravity="center"
|
|
|
- android:text="出差申请"
|
|
|
- android:textColor="@color/white" />
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/stroke"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_6"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="我的行程"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <!--end 头布局-->
|
|
|
- <!--标签布局-->
|
|
|
- <ScrollView
|
|
|
- android:id="@+id/oa_main_sv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_below="@id/oamain_head_menu_ll">
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/meeting"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_3"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="会议管理"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/subord_log"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="下属工作日历"
|
|
|
- android:textSize="16dp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/erp"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_5"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="考勤单据"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="2px"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_margin="5dp"
|
|
|
- android:background="@color/default_shadow_color" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/outtask"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_chuchai"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="出差申请"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/my_log"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="我的工作日历"
|
|
|
- android:textCursorDrawable="@color/yellow_home"
|
|
|
- android:textSize="16dp" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:paddingRight="10dp">
|
|
|
+ </LinearLayout>
|
|
|
+ <!--end 头布局-->
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <View
|
|
|
- android:id="@+id/subord_log_tag"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="4px"
|
|
|
- android:layout_marginRight="20dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@color/darkorange" />
|
|
|
+ <!--标签布局-->
|
|
|
|
|
|
- <View
|
|
|
- android:id="@+id/my_log_tag"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="4px"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@null" />
|
|
|
- </LinearLayout>
|
|
|
- <!--end 标签布局-->
|
|
|
-
|
|
|
- <!--年月日布局-->
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="35dp"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:gravity="center">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/yeas_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/day_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/subord_log"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="下属工作日历"
|
|
|
+ android:textSize="16dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="2px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_margin="5dp"
|
|
|
+ android:background="@color/default_shadow_color" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/week_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/my_log"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="我的工作日历"
|
|
|
+ android:textCursorDrawable="@color/yellow_home"
|
|
|
+ android:textSize="16dp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="@color/text_main"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
- </LinearLayout>
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:paddingRight="10dp">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/subord_log_tag"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="4px"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@color/darkorange" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/my_log_tag"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="4px"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null" />
|
|
|
+ </LinearLayout>
|
|
|
+ <!--end 标签布局-->
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="2px"
|
|
|
- android:background="@color/item_line" />
|
|
|
+ <!--年月日布局-->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="35dp"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:gravity="center">
|
|
|
|
|
|
- <android.support.v4.view.ViewPager
|
|
|
- android:id="@+id/viewPager"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="230dp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/yeas_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_main"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1px"
|
|
|
- android:background="@color/item_line" />
|
|
|
- <!--end 年月日布局-->
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/day_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_main"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/all_task_num"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
- android:layout_marginRight="3dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="工作日历:0"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/ok_task_num"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="已完成:0"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/week_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:textColor="@color/text_main"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
- android:layout_width="2px"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
android:background="@color/item_line" />
|
|
|
|
|
|
+ <android.support.v4.view.ViewPager
|
|
|
+ android:id="@+id/viewPager"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="230dp" />
|
|
|
+
|
|
|
<View
|
|
|
- android:layout_width="1px"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
android:background="@color/item_line" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/uok_task_num"
|
|
|
- android:layout_width="0dp"
|
|
|
+ <!--end 年月日布局-->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="未完成:0"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/all_task_num"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="工作日历:0"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#f17e21" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/ok_task_num"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="已完成:0"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#f17e21" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/uok_task_num"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="未完成:0"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1px"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ok_scale"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="22dp"
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:src="@drawable/filter" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<View
|
|
|
- android:layout_width="1px"
|
|
|
- android:layout_height="match_parent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
android:background="@color/item_line" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ok_scale"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="22dp"
|
|
|
- android:layout_marginRight="8dp"
|
|
|
- android:gravity="center"
|
|
|
- android:src="@drawable/filter" />
|
|
|
+ <com.xzjmyk.pm.activity.view.MyListView
|
|
|
+ android:id="@+id/oa_listview"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:divider="@color/item_line"
|
|
|
+ android:dividerHeight="2px"
|
|
|
+ android:focusableInTouchMode="false" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/oa_more_menu_ll"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="2px"
|
|
|
- android:background="@color/item_line" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
- <com.xzjmyk.pm.activity.view.MyListView
|
|
|
- android:id="@+id/oa_listview"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="30dp"
|
|
|
- android:divider="@color/item_line"
|
|
|
- android:dividerHeight="2px"
|
|
|
- android:focusableInTouchMode="false" />
|
|
|
- </LinearLayout>
|
|
|
- </ScrollView>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/oa_more_menu_ll"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_below="@id/oamain_head_menu_ll"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="gone">
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- android:background="#6A6A6A"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="#6A6A6A"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingBottom="10dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/oamain_overtime_apply_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_jiaban"
|
|
|
- android:gravity="center"
|
|
|
- android:text="加班申请"
|
|
|
- android:visibility="gone"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/oamain_special_attendance_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_8"
|
|
|
- android:gravity="center"
|
|
|
- android:text="查询统计"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@color/white" />
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center" />
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/oa_more_cancel_ll"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:background="#30000000">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oamain_overtime_apply_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_jiaban"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="加班申请"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/oamain_special_attendance_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_8"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="查询统计"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/oa_more_cancel_ll"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#40000000"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
-</RelativeLayout>
|
|
|
+
|
|
|
+</com.handmark.pulltorefresh.library.PullToRefreshScrollView>
|