lmw
2024-06-18 1f45a54dc8e149548d3a61d1228741627aa4f23e
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
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="@drawable/bg_white_top_20dp">
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/tv_date"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        android:text="2023年05月"
        android:textSize="14sp"
        android:textColor="@color/textColor"
        android:textStyle="bold"
        android:layout_marginTop="20dp"/>
    <com.haibin.calendarview.CalendarView
        android:id="@+id/calendar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#fff"
        android:layout_marginHorizontal="22dp"
        app:month_view="com.dollearn.student.views.calendar.SimpleMonthView"
        app:calendar_height="46dp"
        app:day_text_size="11sp"
        app:current_month_text_color="@color/textColor66"
        app:current_day_text_color="@color/colorTextOrange"
        app:other_month_text_color="#e1e1e1"
        app:scheme_text_color="#333"
        app:scheme_theme_color="#333"
        app:selected_text_color="#fff"
        app:selected_theme_color="@color/colorAccent"
        app:week_bar_view="com.dollearn.student.views.calendar.SimpleWeekBar"
        app:week_bar_height="33dp"
        app:select_mode="single_mode"
        android:elevation="2dp"
        app:layout_constraintTop_toBottomOf="@id/tv_date"
        android:layout_marginTop="12dp"/>
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/tv_cancel"
        android:text="取消"
        android:textColor="@color/textColor"
        android:textStyle="bold"
        android:textSize="14sp"
        android:paddingVertical="16dp"
        android:gravity="center"
        android:layout_marginHorizontal="20dp"
        app:layout_constraintTop_toBottomOf="@id/calendar"
        android:background="@color/page_bg"/>
</androidx.constraintlayout.widget.ConstraintLayout>