GithubHelp home page GithubHelp logo

Comments (9)

nekzabirov avatar nekzabirov commented on May 15, 2024

Screenshot_1567691691

white lines it is margings

from calendar.

kizitonwose avatar kizitonwose commented on May 15, 2024

I unfortunately cannot see your attachment.
Screenshot 2019-09-05 at 3 52 57 PM

from calendar.

kizitonwose avatar kizitonwose commented on May 15, 2024

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.

kizitonwose avatar kizitonwose commented on May 15, 2024

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.

nekzabirov avatar nekzabirov commented on May 15, 2024

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.

kizitonwose avatar kizitonwose commented on May 15, 2024

You can achieve the same result by setting the dayHeight property on the calendar instance.

from calendar.

kizitonwose avatar kizitonwose commented on May 15, 2024

Closing this since the issue has been resolved.

from calendar.

ol3th avatar ol3th commented on May 15, 2024

Tried your suggestion by setting the dayHeight property.
exOneCalendar.dayHeight = resources.getDimensionPixelSize(R.dimen.calendar_day_height)
where calendar_day_height = 48dp

This is the result
Screenshot_20190914-152702_CalendarView Sample

from calendar.

urieluvd avatar urieluvd commented on May 15, 2024

@ol3th

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.