Skip to content

月视图隐藏下,依旧拦截左右滑动事件 #843

Open
@XIMOTIAN

Description

@XIMOTIAN

<com.haibin.calendarview.CalendarLayout
android:id="@+id/cal_layout_home_base_calendar"
android:layout_width="match_parent"
android:layout_height="0dp"
android:orientation="vertical"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/calenderTopView"
app:layout_constraintBottom_toBottomOf="parent"
app:calendar_content_view_id="@+id/ll_home_base_calendar_content"
app:calendar_show_mode="both_month_week_view"
app:gesture_mode="disabled"
app:default_status="shrink">

    <com.haibin.calendarview.CalendarView
        android:id="@+id/cal_view_home_base_calendar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        app:calendar_padding="10dp"
        app:current_day_lunar_text_color="#99A5A5A5"
        app:current_day_text_color="@color/black"
        app:current_month_lunar_text_color="#99A5A5A5"
        app:current_month_text_color="@color/black"
        app:day_text_size="@dimen/LargeTextSize"
        app:lunar_text_size="@dimen/MicroTextSize"
        app:month_view="cn.RoadshowMonthRectangleView"
        app:month_view_show_mode="mode_fix"
        app:other_month_lunar_text_color="#4c999999"
        app:other_month_text_color="#4c999999"
        app:scheme_theme_color="@color/dark_gray_1"
        app:select_mode="single_mode"
        app:selected_lunar_text_color="#99A5A5A5"
        app:selected_text_color="@color/orange_main"
        app:selected_theme_color="#FFF0E8"
        app:week_text_color="@color/dark_gray_1"
        app:week_text_size="@dimen/MicroTextSize"
        app:week_bar_height="28dp"
        app:week_view="cn.RoadshowWeekRectangleView" />

    <!--     <cn.comein.main.roadshow.calendar.CalendarLinearLayout
             android:id="@+id/calendar_linear_layout"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginTop="4dp"
             android:background="@color/light_grayish_cyan"
             android:orientation="vertical">

         </cn.comein.main.roadshow.calendar.CalendarLinearLayout>
 -->

    <LinearLayout
        android:id="@+id/ll_home_base_calendar_content"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

      <RecyclerView>
    </LinearLayout>
</com.haibin.calendarview.CalendarLayout>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions