riku
2022-02-18 d59d55575d913646b7a90fca651904ab889c6723
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="cn.flightfeather.thirdappmodule.activity.TaskActivity">
 
    <include
        android:id="@+id/actionbar"
        layout="@layout/layout_actionbar"
        />
 
    <com.haibin.calendarview.CalendarLayout
        android:id="@+id/calendarLayout"
        android:layout_below="@id/actionbar"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:background="#fff"
        android:layout_above="@+id/ll_bottom_bar"
        app:calendar_content_view_id="@+id/recyclerView">
 
        <com.haibin.calendarview.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" />
 
        <TextView
            android:id="@+id/tv_no_data"
            android:layout_centerHorizontal="true"
            android:layout_alignParentBottom="true"
            android:layout_marginBottom="100dp"
            android:textSize="16dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="无任务"/>
 
    </com.haibin.calendarview.CalendarLayout>
 
    <android.support.v7.widget.RecyclerView
        android:id="@+id/rv_topclass_task"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@id/actionbar"
        android:layout_above="@id/ll_bottom_bar"
        android:background="@color/white"
        android:visibility="gone"
        />
 
    <LinearLayout
        android:id="@+id/ll_bottom_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:background="@drawable/shap_stroke_top"
        android:orientation="horizontal"
        android:layout_alignParentBottom="true"
        android:padding="@dimen/dimen4"
        android:layout_alignParentStart="true">
 
        <RadioGroup
            android:id="@+id/rGroup_taskperiod"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
 
            <RadioButton
                android:id="@+id/rb_subtask"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:checked="true"
                android:text="子任务"/>
 
            <RadioButton
                android:id="@+id/rb_topclasstask"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="顶层任务"/>
 
        </RadioGroup>
 
        <CheckBox
            android:id="@+id/cb_subtaskExecutor"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="我的任务"
            />
 
        <TextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textColor="@color/colorPrimary"
            />
 
        <TextView
            android:id="@+id/tv_add"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="@color/colorPrimary"
            android:padding="6dp"
            android:layout_marginRight="12dp"
            android:text="添加"/>
    </LinearLayout>
 
</RelativeLayout>