No events, no zoom in/out ==> Time column collapsed
See original GitHub issueDescribe 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
Additional context
- Android version: Android 9.0
- WeekView version: 3.4.2
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added a
SwipeRefreshLayout
aroundWeekView
in the sample app, but can’t reproduce the issue. Can you provide me with a small sample app that shows the issue?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!