question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No events, no zoom in/out ==> Time column collapsed

See original GitHub issue

Describe the bug if no events, at first start whithout zoom, in or out the time column is collapsed wiredly.

To Reproduce

<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
        android:id="@+id/swipeToRefreshEdt"
        android:layout_alignParentBottom="true"
        android:layout_height="0dp"
        android:layout_width="match_parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/linearLayoutExpansionpPanel">

        <com.alamkanak.weekview.WeekView
            android:id="@+id/weekView"
            android:layout_alignParentBottom="true"
            android:layout_height="match_parent"
            android:layout_width="match_parent"
            app:columnGap="5dp"
            app:eventTextSize="12sp"
            app:maxHour="20"
            app:eventCornerRadius="5dp"
            app:eventMarginVertical="1dp"
            app:eventTextColor="@color/colorAccent"
            app:minHour="6"
            app:nowLineColor="@color/red"
            app:numberOfVisibleDays="5"
            app:headerRowBackgroundColor="#ffefefef"
            app:headerRowPadding="5dp"
            app:hourHeight="10dp"
            app:showNowLine="true"
            app:timeColumnBackgroundColor="@color/colorPrimaryLight"
            app:timeColumnPadding="5dp"
            app:timeColumnTextColor="@color/colorPrimary"
            app:overlappingEventGap="2dp"
            app:todayBackgroundColor="@color/colorBackgroundMain"
            app:xScrollingSpeed="1" />
    </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

Expected behavior Time column with a good gap and disposition at start

Screenshots

screenschot

Additional context

  • Android version: Android 9.0
  • WeekView version: 3.4.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
thellmundcommented, Aug 30, 2019

I added a SwipeRefreshLayout around WeekView in the sample app, but can’t reproduce the issue. Can you provide me with a small sample app that shows the issue?

0reactions
thellmundcommented, Sep 5, 2019

I have identified and fixed the issue in 3cc3804891b81235f9e9cba687bf323b426d81e0. Give it a try and let me know if anything else needs fixing.

Thanks for reporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing Zoom Events expo
Enter the Start and End times. Under the On/Off columns, click the toggle to enable to On or disable to Off. This toggle...
Read more >
zoom - CSS: Cascading Style Sheets - MDN Web Docs
The non-standard zoom CSS property can be used to control the magnification level of an element. transform: scale() should be used instead ...
Read more >
Event Collapse in Contrast Maximization Frameworks - MDPI
We experimentally show on publicly available datasets that the proposed metrics mitigate event collapse and do not harm well-posed warps.
Read more >
Enable zoom mode - MATLAB - MathWorks
For example, you can zoom in and out of the view of the axes by scrolling or pinching. Built-in interactions do not require...
Read more >
pointer-events | CSS-Tricks
Points of Interest · “The use of pointer-events in CSS for non-SVG elements is experimental. · “If you add a click event listener...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found