Open itzhaokun opened 6 years ago
<com.haibin.calendarview.CalendarLayout android:id="@+id/calendarLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#fff" android:orientation="vertical" app:calendar_show_mode="only_week_view" app:calendar_content_view_id="@+id/swipe_refresh"> <com.haibin.calendarview.CalendarView android:id="@+id/calendarView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#fff" app:calendar_height="52dp" app:current_month_text_color="#333333" app:day_text_size="14sp" app:max_year="2022" app:min_year="2017" app:week_bar_view="com.aixuetang.mobile.activities.prework.EnglishWeekBar" app:current_month_lunar_text_color="#f90202" app:month_view="com.aixuetang.mobile.activities.prework.CustomMonthView" 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_lunar_text_color="#e1e1e1" app:selected_lunar_text_color="#FFFFFF" app:selected_text_color="#FFFFFF" app:selected_theme_color="@color/select_bg" app:week_background="#fff" app:week_text_color="#111111" app:week_view="com.aixuetang.mobile.activities.prework.CustomWeekView" app:week_view_scrollable="false" app:week_start_with="mon" />
<android.support.v4.widget.SwipeRefreshLayout android:id="@+id/swipe_refresh" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerView" android:layout_marginLeft="6dp" android:paddingRight="15dp" android:background="@color/bg_color" android:layout_width="match_parent" android:layout_height="match_parent"/> </android.support.v4.widget.SwipeRefreshLayout> </com.haibin.calendarview.CalendarLayout>
@itzhaokun 我也遇到了,你解决了吗
<com.haibin.calendarview.CalendarLayout android:id="@+id/calendarLayout" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#fff" android:orientation="vertical" app:calendar_show_mode="only_week_view" app:calendar_content_view_id="@+id/swipe_refresh"> <com.haibin.calendarview.CalendarView android:id="@+id/calendarView" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#fff" app:calendar_height="52dp" app:current_month_text_color="#333333" app:day_text_size="14sp" app:max_year="2022" app:min_year="2017" app:week_bar_view="com.aixuetang.mobile.activities.prework.EnglishWeekBar" app:current_month_lunar_text_color="#f90202" app:month_view="com.aixuetang.mobile.activities.prework.CustomMonthView" 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_lunar_text_color="#e1e1e1" app:selected_lunar_text_color="#FFFFFF" app:selected_text_color="#FFFFFF" app:selected_theme_color="@color/select_bg" app:week_background="#fff" app:week_text_color="#111111" app:week_view="com.aixuetang.mobile.activities.prework.CustomWeekView" app:week_view_scrollable="false" app:week_start_with="mon" />