Search code examples
android-layoutandroid-fragmentsandroidandroid-calendar

expandable (month view)/collapsable(week view) calendar widget for android


I saw this android calendar widget used in an app called cal and was quite impressed.

I would like to implement a similar one in my app as well. Currently I am using an android calendar framework called caldroid and I am using it as a Fragment and will be invoked on action bar button click and will get collapsed clicking back on the action bar button.

But I would like to do the widget like in the app. Screen shots attached.

I would like to know if you guys are aware of any frameworks that can used to achieve this or any approach or tips on how to code this.

I am bit new and know basics of android. Haven't attempted to create custom widgets yet.

Thanks, Bala

Collapsed calendar showing only the current week

expanded calendar showing the entire month


Solution

  • Maybe this library can help you.
    https://github.com/blazsolar/android-collapse-calendar-view