|
|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<com.handmark.pulltorefresh.library.PullToRefreshScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<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"
|
|
|
@@ -33,30 +34,64 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal"
|
|
|
android:paddingBottom="10dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/signin"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ <RelativeLayout
|
|
|
android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="打卡签到"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:layout_marginTop="2dp"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/outoffice"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_signin_num"
|
|
|
+ android:layout_width="10dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ 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="打卡签到"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_marginTop="2dp"/>
|
|
|
+ </RelativeLayout>
|
|
|
+ <RelativeLayout
|
|
|
android:layout_weight="1"
|
|
|
- android:drawablePadding="@dimen/drawable_padding"
|
|
|
- android:drawableTop="@drawable/oa_2"
|
|
|
- android:gravity="center"
|
|
|
- android:text="外勤签到"
|
|
|
- android:textColor="@color/white" />
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_signout_num"
|
|
|
+ android:layout_width="10dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ 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="外勤签到"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/worklog"
|