How to create a drop down view like Google Calendar using Toolbar?

Varundroid picture Varundroid · Jun 5, 2015 · Viewed 9.5k times · Source

I am trying to create something similar to Google Calendar drop down month widget.

enter image description here

Any help would be really appreciated.

So far I have an idea that I need to use Toolbar with expandable animation but not sure that's the right direction to move into.

Answer

user1480019 picture user1480019 · Nov 4, 2015

I was also trying to create something similar to the Google Calendar app. I've come with this implementation: Demo of implementation

I use the CompactCalendarView library for the month widget. And CollapsingToolbarLayout for the drop down.

You can view the source of this implementation at GitHub: https://github.com/GerritHoekstra/CompactCalendarViewToolbar

The main layout can be found here.

I hope this helps you further.