1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    tools:context="cn.flightfeather.thirdapp.fragment.InspectionFragment">
 
    <!-- TODO: Update blank fragment layout -->
    <include layout="@layout/fragment_inspection_content"/>
    <RelativeLayout
        android:id="@+id/rl_select_Task"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/white"
        android:layout_alignParentTop="true"
        android:layout_alignParentStart="true">
        <LinearLayout
            android:id="@+id/ll_tool_bar"
            android:visibility="visible"
            android:layout_width="match_parent"
            android:layout_height="@dimen/actionbarHeight"
            android:orientation="horizontal"
            android:background="@color/colorPrimary"
            android:paddingLeft="13dp">
            <TextView
                android:id="@+id/tv_title"
                android:paddingTop="13dp"
                android:paddingBottom="13dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="2017年10月10日"
                android:textColor="@color/white"
                android:textSize="17dp"/>
            <Spinner
                android:id="@+id/sp_select_month_task"
                android:layout_marginLeft="14dp"
                android:layout_marginRight="-6dp"
                android:layout_weight="1"
                android:layout_width="0dp"
                android:layout_height="match_parent">
            </Spinner>
            <ImageView
                android:id="@+id/iv_upload"
                android:layout_gravity="center_vertical"
                android:layout_width="34dp"
                android:layout_height="34dp"
                android:layout_marginRight="6dp"
                android:background="@drawable/selector_icon_upload"/>
        </LinearLayout>
 
 
        <com.haibin.oldcalendarview.CalendarLayout
            android:layout_below="@id/ll_tool_bar"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:background="#fff"
            app:calendar_content_view_id="@+id/recyclerView">
 
            <com.haibin.oldcalendarview.CalendarView
                android:id="@+id/calendarView"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="#fff"
                app:current_month_text_color="#333333"
                app:min_year="2004"
                app:other_month_text_color="#e1e1e1"
                app:scheme_text="假"
                app:scheme_text_color="#fff"
                app:scheme_theme_color="#128c4b"
                app:selected_text_color="#333"
                app:selected_theme_color="#108cd4"
                app:week_background="#fff"
                app:week_text_color="#111" />
 
            <android.support.v7.widget.RecyclerView
                android:id="@+id/recyclerView"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@drawable/shap_stroke_top" />
        </com.haibin.oldcalendarview.CalendarLayout>
    </RelativeLayout>
 
 
<android.support.design.widget.FloatingActionButton
    android:id="@+id/fab_map"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_centerHorizontal="true"
    app:fabSize="mini"
    android:layout_marginBottom="16dp"
    android:src="@drawable/icon_map_white"
    app:backgroundTint="@color/colorPrimary"/>
 
</RelativeLayout>