GithubHelp home page GithubHelp logo

Comments (4)

jhoobergs avatar jhoobergs commented on July 17, 2024

@pgeyman That's not possible. But you can easily add a view on top of the weekview that implements this behaviour.

from android-week-view.

pgeyman avatar pgeyman commented on July 17, 2024

ok. Is there a way to turn off the WeekView header if I am going to display my own?

from android-week-view.

jhoobergs avatar jhoobergs commented on July 17, 2024

@pgeyman That's currently not possible, but I think it is an easy change. So do you think you can try to fix this ?

You just need to set mHeaderTextHeight to 0 when the option is activated. He will stil show all day events then. You can add the check after https://github.com/Quivr/Android-Week-View/blob/develop/library/src/main/java/com/alamkanak/weekview/WeekView.java#L505

It might be better to just create a private getter for the HeaderTextHeight, that uses the value of the variable when apropriate, and returns 0 if the header shouldn't be shown. And than change the lib to always use that getter instead of the variable

from android-week-view.

pgeyman avatar pgeyman commented on July 17, 2024

@jhoobergs I'm will be away from work for next week, so I will do the change once I'm back

from android-week-view.

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.