Open crazyzjw opened 5 years ago
` <com.haibin.calendarview.CalendarLayout android:id="@+id/calendarLayout" android:layout_width="match_parent" android:layout_height="match_parent" app:week_background="@color/color_F5F6F7" app:default_status="expand" android:orientation="vertical">
<com.haibin.calendarview.CalendarView android:id="@+id/calendarView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#fff" app:calendar_padding="10dp" app:calendar_height="46dp" app:current_month_lunar_text_color="#CFCFCF" app:current_month_text_color="#333333" app:min_year="2004" app:other_month_text_color="#e1e1e1" app:scheme_text="假" app:scheme_text_color="#333" app:scheme_theme_color="#333" app:selected_text_color="#fff" app:selected_theme_color="#333" app:week_background="#fff" app:week_text_color="#111" app:week_view="com.xx.xxx.widget.views.SimpleWeekView" 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>`
不会的,要么是周实图配置错了,显示为系统的了,查看一下路径相关的
` <com.haibin.calendarview.CalendarLayout android:id="@+id/calendarLayout" android:layout_width="match_parent" android:layout_height="match_parent" app:week_background="@color/color_F5F6F7" app:default_status="expand" android:orientation="vertical">