|
|
@@ -1,7 +1,5 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<!--com.handmark.pulltorefresh.library.PullToRefreshScrollView -->
|
|
|
-<com.handmark.pulltorefresh.library.PullToRefreshScrollView
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<?xml version="1.0" encoding="utf-8"?><!--com.handmark.pulltorefresh.library.PullToRefreshScrollView -->
|
|
|
+<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"
|
|
|
@@ -35,64 +33,70 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal"
|
|
|
android:paddingBottom="10dp">
|
|
|
+
|
|
|
<RelativeLayout
|
|
|
- android:layout_weight="1"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_signin_num"
|
|
|
android:layout_width="10dp"
|
|
|
android:layout_height="10dp"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignTop="@+id/signin"
|
|
|
+ android:layout_gravity="top|right"
|
|
|
android:layout_marginRight="10dp"
|
|
|
android:background="@drawable/hongdian"
|
|
|
- android:layout_gravity="top|right"
|
|
|
android:gravity="center"
|
|
|
android:text=""
|
|
|
android:textColor="@android:color/white"
|
|
|
- android:textSize="10.0dip"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
- android:layout_alignTop="@+id/signin" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/signin"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_1"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:text="@string/oasign_title"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:layout_marginTop="2dp"/>
|
|
|
+ android:textSize="10.0dip" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/signin"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_1"
|
|
|
+ android:text="@string/oasign_title"
|
|
|
+ android:textColor="@color/white" />
|
|
|
</RelativeLayout>
|
|
|
+
|
|
|
<RelativeLayout
|
|
|
- android:layout_weight="1"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_signout_num"
|
|
|
android:layout_width="10dp"
|
|
|
android:layout_height="10dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_gravity="top|right"
|
|
|
android:layout_marginRight="10dp"
|
|
|
android:background="@drawable/hongdian"
|
|
|
- android:layout_gravity="top|right"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
android:gravity="center"
|
|
|
android:text=""
|
|
|
android:textColor="@android:color/white"
|
|
|
- android:textSize="10.0dip"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:id="@+id/outoffice"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:gravity="center"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_2"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:text="@string/oaoutplan_title"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </RelativeLayout>
|
|
|
+ android:textSize="10.0dip" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/outoffice"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_2"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/oaoutplan_title"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/worklog"
|
|
|
android:layout_width="0dp"
|
|
|
@@ -345,9 +349,9 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
android:gravity="center|left"
|
|
|
+ android:paddingLeft="12dp"
|
|
|
android:text="@string/done"
|
|
|
- android:textSize="@dimen/text_hine"
|
|
|
- android:paddingLeft="12dp"/>
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
|
|
|
<View
|
|
|
android:layout_width="1px"
|
|
|
@@ -357,10 +361,10 @@
|
|
|
<TextView
|
|
|
android:id="@+id/uok_task_num"
|
|
|
android:layout_width="0dp"
|
|
|
- android:paddingLeft="12dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
android:gravity="center|left"
|
|
|
+ android:paddingLeft="12dp"
|
|
|
android:text="@string/undone"
|
|
|
android:textSize="@dimen/text_hine" />
|
|
|
|
|
|
@@ -399,15 +403,16 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical"
|
|
|
- android:visibility="gone">
|
|
|
+ android:visibility="gone"
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="#6A6A6A"
|
|
|
android:orientation="horizontal"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- >
|
|
|
+ android:paddingBottom="10dp">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/oamain_special_attendance_tv"
|
|
|
android:layout_width="0dp"
|
|
|
@@ -425,18 +430,17 @@
|
|
|
android:id="@+id/oamain_sign_statistical_tv"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
android:orientation="vertical"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
android:paddingLeft="5dp"
|
|
|
- android:visibility="visible"
|
|
|
- >
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
<FrameLayout
|
|
|
android:id="@+id/notice_head_area"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- >
|
|
|
+ android:layout_marginLeft="20dp">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/notice_avatar_img"
|
|
|
@@ -452,24 +456,23 @@
|
|
|
android:layout_width="10dp"
|
|
|
android:layout_height="10dp"
|
|
|
android:layout_gravity="top|right"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
android:background="@drawable/hongdian"
|
|
|
android:textColor="@android:color/white"
|
|
|
android:textSize="10.0dip"
|
|
|
- android:visibility="gone"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- />
|
|
|
+ />
|
|
|
</FrameLayout>
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_height="wrap_content"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/work_statistics"
|
|
|
- android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="13dp"
|
|
|
android:layout_marginTop="5dp"
|
|
|
- />
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/work_statistics"
|
|
|
+ android:textColor="@color/white" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<TextView
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -504,5 +507,4 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-</com.handmark.pulltorefresh.library.PullToRefreshScrollView>
|
|
|
-<!---->
|
|
|
+</com.handmark.pulltorefresh.library.PullToRefreshScrollView><!---->
|