|
|
@@ -0,0 +1,209 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@color/bg_main"
|
|
|
+ >
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/senior_setting_auto_sign_rl"
|
|
|
+ style="@style/IMTbleLine1"
|
|
|
+ android:background="@drawable/selector_me_menu_item_bg"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_auto_sign_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="自动打卡"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/senior_setting_auto_sign_im"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/uu_step"
|
|
|
+ android:layout_toRightOf="@+id/senior_setting_auto_sign_reply"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:visibility="gone"
|
|
|
+ />
|
|
|
+ <com.xzjmyk.pm.activity.ui.erp.view.SwitchView
|
|
|
+ android:id="@+id/senior_setting_auto_sign_reply"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10px"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/senior_setting_late_time_rl"
|
|
|
+ style="@style/IMTbleLine"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:background="@drawable/selector_me_menu_item_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_late_time_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="设置迟到时间"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_late_time_tv"
|
|
|
+ style="@style/IMTbleLine_TextValue"
|
|
|
+ android:layout_toLeftOf="@+id/senior_setting_late_time_img"
|
|
|
+ android:layout_toRightOf="@+id/senior_setting_late_time_text"
|
|
|
+ android:textColor="@color/dark_dark_grey"
|
|
|
+ android:text="5分钟"
|
|
|
+ />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/senior_setting_late_time_img"
|
|
|
+ android:layout_width="@dimen/next_width"
|
|
|
+ android:layout_height="@dimen/next_height"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/oa_next"
|
|
|
+ android:contentDescription="@string/app_name" />
|
|
|
+ </RelativeLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/senior_setting_serious_late_time_rl"
|
|
|
+ style="@style/IMTbleLine"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:background="@drawable/selector_me_menu_item_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_serious_late_time_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="设置严重迟到时间"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_serious_late_time_tv"
|
|
|
+ style="@style/IMTbleLine_TextValue"
|
|
|
+ android:layout_toLeftOf="@+id/senior_setting_serious_late_time_img"
|
|
|
+ android:layout_toRightOf="@+id/senior_setting_serious_late_time_text"
|
|
|
+ android:textColor="@color/dark_dark_grey"
|
|
|
+ android:text="15分钟"
|
|
|
+ />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/senior_setting_serious_late_time_img"
|
|
|
+ android:layout_width="@dimen/next_width"
|
|
|
+ android:layout_height="@dimen/next_height"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/oa_next"
|
|
|
+ android:contentDescription="@string/app_name" />
|
|
|
+ </RelativeLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/senior_setting_Leave_early_rl"
|
|
|
+ style="@style/IMTbleLine"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:background="@drawable/selector_me_menu_item_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_Leave_early_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="设置早退时间"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_Leave_early_tv"
|
|
|
+ style="@style/IMTbleLine_TextValue"
|
|
|
+ android:layout_toLeftOf="@+id/senior_setting_Leave_early_img"
|
|
|
+ android:layout_toRightOf="@+id/senior_setting_Leave_early_text"
|
|
|
+ android:textColor="@color/dark_dark_grey"
|
|
|
+ android:text="15分钟"
|
|
|
+ />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/senior_setting_Leave_early_img"
|
|
|
+ android:layout_width="@dimen/next_width"
|
|
|
+ android:layout_height="@dimen/next_height"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/oa_next"
|
|
|
+ android:contentDescription="@string/app_name" />
|
|
|
+ </RelativeLayout>
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
+ android:background="@color/item_line" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/senior_setting_absenteeism_rl"
|
|
|
+ style="@style/IMTbleLine"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:background="@drawable/selector_me_menu_item_bg">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_absenteeism_text"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:text="设置旷工时间"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/senior_setting_absenteeism_tv"
|
|
|
+ style="@style/IMTbleLine_TextValue"
|
|
|
+ android:layout_toLeftOf="@+id/senior_setting_absenteeism_img"
|
|
|
+ android:layout_toRightOf="@+id/senior_setting_absenteeism_text"
|
|
|
+ android:textColor="@color/dark_dark_grey"
|
|
|
+ android:text="60分钟"
|
|
|
+ />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/senior_setting_absenteeism_img"
|
|
|
+ android:layout_width="@dimen/next_width"
|
|
|
+ android:layout_height="@dimen/next_height"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:background="@drawable/oa_next"
|
|
|
+ android:contentDescription="@string/app_name" />
|
|
|
+ </RelativeLayout>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/senior_setting_save_bt"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="150dp"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_marginTop="200dp"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:text="保存"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/text_main"
|
|
|
+ android:background="@drawable/bg_bule_btn"/>
|
|
|
+</LinearLayout>
|