<?xml version="1.0" encoding="utf-8"?>
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<com.haibin.calendarview.CalendarLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<com.haibin.calendarview.CalendarView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
app:current_month_lunar_text_color="#CFCFCF"
|
app:current_month_text_color="#333333"
|
app:day_text_size="14sp"
|
app:max_year="2020"
|
app:min_year="2004"
|
app:calendar_height="52dp"
|
app:month_view_show_mode="mode_fix"
|
app:other_month_lunar_text_color="#e1e1e1"
|
app:other_month_text_color="#e1e1e1"
|
app:scheme_text="假"
|
app:scheme_text_color="#333"
|
app:scheme_theme_color="#128c4b"
|
app:selected_lunar_text_color="#CFCFCF"
|
app:selected_text_color="#FFFFFF"
|
app:selected_theme_color="#FFf54a00"
|
app:week_background="#fff"
|
app:week_text_color="#111111"
|
app:year_view_day_text_color="#333333"
|
app:year_view_day_text_size="9sp"
|
app:year_view_month_text_color="#ff0000"
|
app:year_view_month_text_size="20sp"
|
app:year_view_scheme_color="#f17706" />
|
|
</com.haibin.calendarview.CalendarLayout>
|
|
</android.support.constraint.ConstraintLayout>
|