Comments (9)
white lines it is margings
from calendar.
I unfortunately cannot see your attachment.
from calendar.
I unfortunately cannot see your attachment.
Seems like the attachment suddenly decided to show up.
It looks like you have bottom margins in your dayViewResource
. There are no added margins in the library so I'm not sure what's going on.
from calendar.
Note that you are using the default configuration which sets day width and height to calenderWidth/7. If you don't want this, you have to explicitly set your desired height or width using calendarView.dayHeight
and calendarView.dayWidth
respectively.
from calendar.
Thank you i have solved it, maked your lib local and than change one part of your code
layoutParams = LinearLayout.LayoutParams(config.width, MasterTimeWorkWeekView.pxToDpConver(45, dateView.context), 1F)
from calendar.
You can achieve the same result by setting the dayHeight
property on the calendar instance.
from calendar.
Closing this since the issue has been resolved.
from calendar.
Tried your suggestion by setting the dayHeight property.
exOneCalendar.dayHeight = resources.getDimensionPixelSize(R.dimen.calendar_day_height)
where calendar_day_height = 48dp
from calendar.
You neet to set the width also.
val display: Display = windowManager.defaultDisplay
val size = Point()
display.getSize(size)
val width: Int = size.x
val height: Int = size.y
calendar.dayHeight = 100
calendar.dayWidth = width / 7
from calendar.
Related Issues (20)
- java.lang.IllegalArgumentException: The initial value must have an associated anchor. HOT 9
- Fast Scrolling HOT 2
- Stable calendar height during scroll HOT 4
- Can you compose example6 be written in view HOT 1
- FirstDayOfMonth with out and in dates HOT 5
- How make such calendar? (screenshot below) HOT 3
- Multiplatform support HOT 8
- Swiping on Calendar composable results in crash with following exception "java.lang.AbstractMethodError: abstract method "float androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider.calculateApproachOffset(float)"" HOT 2
- Horizontal Calendar crashing HOT 5
- Yearly calendar view HOT 2
- Changing `firstDayOfWeek` on `CalendarState` in Compose module doesn't refresh the current month HOT 3
- Displaying Calendar for Weekdays Only HOT 9
- How to set the week titles from Monday to Sunday. HOT 1
- How to do swipe up to change to week view and swipe down to change month view for Compose Calendar HOT 3
- Jerking when scrolling the calendar HOT 4
- Need help to show 5 day of week equally divided in UI HOT 1
- App crashing while using HorizontalCalendar HOT 4
- I am unable to use this library am I doing something wrong Please I need help HOT 1
- support the Chinese?? HOT 1
- Help for using a fork on android studio HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendar.