SundeepK / CompactCalendarView

An android library which provides a compact calendar view much like the one used in google calenders.
MIT License
1.52k stars 428 forks source link

setClickable, setEnabled not working #228

Open gcdubouzet opened 7 years ago

gcdubouzet commented 7 years ago

I wanted to disable clicking the days in the calendar.

SundeepK commented 6 years ago

Hi, there is no way in the library to disable this functionality, the best way todo that would be to delete/comment out this line I think: https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarView.java#L52.

gcdubouzet commented 6 years ago

thanks for replying.

I hope you could consider the suggestion of creating a method to change the text color of the calendar instead of just adjusting it on the xml.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Sep 19, 2017 at 4:33 AM, SundeepK notifications@github.com wrote:

Hi, there is no way in the library to disable this functionality, the best way todo that would be to delete/comment out this line I think: https://github.com/SundeepK/CompactCalendarView/blob/ master/library/src/main/java/com/github/sundeepk/compactcalendarview/ CompactCalendarView.java#L52.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SundeepK/CompactCalendarView/issues/228#issuecomment-330347658, or mute the thread https://github.com/notifications/unsubscribe-auth/AbZLswpnOrJboC_1NdklKAQcnjlwWUEtks5sjtOggaJpZM4Oy5UG .