|
|
@@ -198,238 +198,227 @@
|
|
|
android:layout_height="1dp"
|
|
|
android:background="@color/view_line_color_gray" />
|
|
|
|
|
|
- <com.haibin.calendarview.CalendarLayout
|
|
|
- android:id="@+id/cl_date"
|
|
|
+ <com.haibin.calendarview.CalendarView
|
|
|
+ android:id="@+id/cv_clock_date"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="372dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ app:day_text_size="@dimen/px42_14sp"
|
|
|
+ app:month_view_show_mode="mode_all"
|
|
|
+ app:selected_text_color="@color/white"
|
|
|
+ app:week_text_color="@color/text_gray_99"
|
|
|
+ app:week_text_size="@dimen/px36_12sp" />
|
|
|
+
|
|
|
+ <com.prolificinteractive.materialcalendarview.MaterialCalendarView
|
|
|
+ android:id="@+id/mcv_work_time"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="372dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:mcv_arrowColor="@color/white"
|
|
|
+ app:mcv_dateTextAppearance="@style/Material_Date_Clock_TextStyle"
|
|
|
+ app:mcv_firstDayOfWeek="monday"
|
|
|
+ app:mcv_leftArrowMask="@color/transparent"
|
|
|
+ app:mcv_selectionColor="@color/text_blue_32"
|
|
|
+ app:mcv_selectionMode="multiple"
|
|
|
+ app:mcv_showOtherDates="all"
|
|
|
+ app:mcv_tileHeight="0dp"
|
|
|
+ app:mcv_weekDayTextAppearance="@style/Material_Date_Clock_Week_TextStyle" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- app:calendar_content_view_id="@+id/nsv"
|
|
|
- app:default_status="shrink">
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <com.haibin.calendarview.CalendarView
|
|
|
- android:id="@+id/cv_date"
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="372dp"
|
|
|
- android:background="@color/white" />
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/view_line_color_gray" />
|
|
|
|
|
|
- <android.support.v4.widget.NestedScrollView
|
|
|
- android:id="@+id/nsv"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:layout_marginBottom="11dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingTop="24dp"
|
|
|
+ android:paddingRight="20dp"
|
|
|
+ android:paddingBottom="48dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_rules"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="规则:自由上下班打卡 00:00-24:00
|
|
|
+当日打卡2次,工时10小时"
|
|
|
+ android:textColor="@color/text_black_66"
|
|
|
+ android:textSize="@dimen/px39_13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_no_record"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="48dp"
|
|
|
+ android:layout_marginBottom="48dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/clock_day_no_record"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px51_17sp"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_clock_data"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="33dp"
|
|
|
+ android:layout_marginBottom="33dp"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:background="@color/view_line_color_gray" />
|
|
|
-
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/ll_clock_in"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:layout_marginBottom="11dp"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingLeft="20dp"
|
|
|
- android:paddingTop="24dp"
|
|
|
- android:paddingRight="20dp"
|
|
|
- android:paddingBottom="48dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_rules"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="规则:自由上下班打卡 00:00-24:00
|
|
|
-当日打卡2次,工时10小时"
|
|
|
- android:textColor="@color/text_black_66"
|
|
|
- android:textSize="@dimen/px39_13sp" />
|
|
|
+ android:layout_height="79dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_no_record"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="48dp"
|
|
|
- android:layout_marginBottom="48dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/clock_day_no_record"
|
|
|
- android:textColor="@color/text_black"
|
|
|
- android:textSize="@dimen/px51_17sp"
|
|
|
- android:visibility="gone" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_clock_in_line"
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="27dp"
|
|
|
+ android:background="@color/text_gray_dd" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:background="@drawable/corners_gray_bb_5dp" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/ll_clock_data"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="33dp"
|
|
|
- android:layout_marginBottom="33dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_clock_in"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_clock_in_time"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="79dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="8dp"
|
|
|
- android:layout_height="match_parent">
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/v_clock_in_line"
|
|
|
- android:layout_width="1dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="27dp"
|
|
|
- android:background="@color/text_gray_dd" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="8dp"
|
|
|
- android:layout_height="8dp"
|
|
|
- android:layout_marginTop="23dp"
|
|
|
- android:background="@drawable/corners_gray_bb_5dp" />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_clock_in_time"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="上班 08:28"
|
|
|
- android:textColor="@color/text_black"
|
|
|
- android:textSize="@dimen/px51_17sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_clock_in_time_local"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:drawableLeft="@mipmap/ic_clock_local"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="无锡夏普电子元器件有限公司"
|
|
|
- android:textColor="@color/text_black_66"
|
|
|
- android:textSize="@dimen/px42_14sp" />
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_clock_out"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="上班 08:28"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px51_17sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_clock_in_time_local"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="79dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="8dp"
|
|
|
- android:layout_height="match_parent">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="1dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginBottom="52dp"
|
|
|
- android:background="@color/text_gray_dd" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="8dp"
|
|
|
- android:layout_height="8dp"
|
|
|
- android:layout_marginTop="23dp"
|
|
|
- android:background="@drawable/corners_gray_bb_5dp" />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_clock_out_time"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="下班 08:28"
|
|
|
- android:textColor="@color/text_black"
|
|
|
- android:textSize="@dimen/px51_17sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_clock_out_time_local"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:drawableLeft="@mipmap/ic_clock_local"
|
|
|
- android:drawablePadding="5dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="无锡夏普电子元器件有限公司"
|
|
|
- android:textColor="@color/text_black_66"
|
|
|
- android:textSize="@dimen/px42_14sp" />
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:drawableLeft="@mipmap/ic_clock_local"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="无锡夏普电子元器件有限公司"
|
|
|
+ android:textColor="@color/text_black_66"
|
|
|
+ android:textSize="@dimen/px42_14sp" />
|
|
|
</LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_clock_out"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="79dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="52dp"
|
|
|
+ android:background="@color/text_gray_dd" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:background="@drawable/corners_gray_bb_5dp" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@string/clock_today_repay_title"
|
|
|
+ android:id="@+id/tv_clock_out_time"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="下班 08:28"
|
|
|
android:textColor="@color/text_black"
|
|
|
- android:textSize="@dimen/px39_13sp" />
|
|
|
+ android:textSize="@dimen/px51_17sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_money"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="37.0"
|
|
|
- android:textColor="@color/blue_01"
|
|
|
- android:textSize="@dimen/px84_28sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="5dp"
|
|
|
- android:text="@string/yuan"
|
|
|
- android:textColor="@color/text_black"
|
|
|
- android:textSize="@dimen/px39_13sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ android:id="@+id/tv_clock_out_time_local"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:drawableLeft="@mipmap/ic_clock_local"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="无锡夏普电子元器件有限公司"
|
|
|
+ android:textColor="@color/text_black_66"
|
|
|
+ android:textSize="@dimen/px42_14sp" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
- </android.support.v4.widget.NestedScrollView>
|
|
|
- </com.haibin.calendarview.CalendarLayout>
|
|
|
-
|
|
|
- <!-- <com.prolificinteractive.materialcalendarview.MaterialCalendarView
|
|
|
- android:id="@+id/mcv_work_time"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="372dp"
|
|
|
- android:background="@color/white"
|
|
|
- app:mcv_arrowColor="@color/white"
|
|
|
- app:mcv_dateTextAppearance="@style/Material_Date_TextStyle"
|
|
|
- app:mcv_firstDayOfWeek="monday"
|
|
|
- app:mcv_headerTextAppearance="@style/Material_Date_TextStyle"
|
|
|
- app:mcv_leftArrowMask="@color/transparent"
|
|
|
- app:mcv_selectionColor="@color/text_blue_32"
|
|
|
- app:mcv_selectionMode="multiple"
|
|
|
- app:mcv_showOtherDates="all"
|
|
|
- app:mcv_tileHeight="0dp"
|
|
|
- app:mcv_weekDayTextAppearance="@style/Material_Date_Week_TextStyle" />-->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/clock_today_repay_title"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px39_13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_money"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="37.0"
|
|
|
+ android:textColor="@color/blue_01"
|
|
|
+ android:textSize="@dimen/px84_28sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="5dp"
|
|
|
+ android:text="@string/yuan"
|
|
|
+ android:textColor="@color/text_black"
|
|
|
+ android:textSize="@dimen/px39_13sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</android.support.v4.widget.NestedScrollView>
|