|
|
@@ -4,6 +4,7 @@
|
|
|
android:id="@+id/oa_rootview"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:background="#EBE9E9"
|
|
|
android:focusable="true"
|
|
|
android:focusableInTouchMode="true"
|
|
|
tools:context="com.xzjmyk.pm.activity.ui.erp.activity.crm.ClientActivity">
|
|
|
@@ -11,7 +12,6 @@
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="#ebe9e9"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
@@ -29,7 +29,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_below="@+id/toobar"
|
|
|
- android:background="@drawable/oa_top_bg"
|
|
|
+ android:background="#6A6A6A"
|
|
|
android:orientation="vertical"
|
|
|
android:paddingTop="10dp">
|
|
|
|
|
|
@@ -38,233 +38,106 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_signin"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/signin"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_1"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:text="打卡签到"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_1" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
-
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="打卡签到"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_outside"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/outoffice"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_2"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_2" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="外勤签到"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_meeting"
|
|
|
+ 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:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_3"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_3" />
|
|
|
+ android:text="会议管理"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
-
|
|
|
- android:text="会议管理"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_worklog"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/worklog"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_4"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_4" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="工作日志"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
+ android:text="工作日志"
|
|
|
+ android:textColor="@color/white" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="3dp" />
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/attendance_ll"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_5" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="考勤单据"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_subject"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/erp"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_5"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:text="考勤单据"
|
|
|
+ android:textColor="@color/white" />
|
|
|
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_6" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
-
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="我的行程"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/borrowing_ll"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/stroke"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_6"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_7" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="借款申请"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/repayment_ll"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_8" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="还款申请"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_"
|
|
|
+ android:text="我的行程"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/outoffice_task"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_7"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_9" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="差旅费报销"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_attendance"
|
|
|
+ android:text="出差报销"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/statistics"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:clickable="true"
|
|
|
+ android:drawablePadding="@dimen/drawable_padding"
|
|
|
+ android:drawableTop="@drawable/oa_8"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <Button
|
|
|
- style="@style/oa_btn_style"
|
|
|
- android:background="@drawable/oa_10" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:text="考勤统计"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
+ android:text="考勤统计"
|
|
|
+ android:textColor="@color/white" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
|
@@ -336,7 +209,6 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
- android:text="2016-07"
|
|
|
android:textColor="@color/text_main"
|
|
|
android:textSize="@dimen/text_main" />
|
|
|
|
|
|
@@ -382,7 +254,6 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:numColumns="7"
|
|
|
android:visibility="gone" />
|
|
|
-
|
|
|
<com.xzjmyk.pm.activity.view.CalendarView
|
|
|
android:id="@+id/oa_picker"
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -400,15 +271,16 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/all_task_num"
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="2"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:layout_marginRight="3dp"
|
|
|
android:gravity="center"
|
|
|
android:text="工作日历:0"
|
|
|
android:textSize="@dimen/text_main" />
|
|
|
|
|
|
<View
|
|
|
- android:layout_width="1px"
|
|
|
+ android:layout_width="2px"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/item_line" />
|
|
|
|
|
|
@@ -442,9 +314,9 @@
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/ok_scale"
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="22dp"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
android:gravity="center"
|
|
|
android:src="@drawable/filter" />
|
|
|
</LinearLayout>
|