How to display a calendar UI in an Android application? [closed]
Asked Answered
C

2

8

I want to use a calendar in my application like the calendar in the image below.

calendar

I want this calendar UI in my activity. How can I accomplish this?

Carminecarmita answered 21/5, 2011 at 7:30 Comment(2)
Related/dupe: Android calendar viewDissymmetry
Does anyone know any library that extend Android's CalendarView which allows easy customization for Date's cell drawable? I see many suggested libraries but they implement their own Calendar View which aren't extending from Android's CalendarView.Mev
A
21

Hehe. We've done this before: see at http://code.google.com/p/android-calendar-view/.

You WILL need to do additional styling work if you want to get that precise look and feel from your image: but that's what open source is for.

Enjoy.

Adolphus answered 21/5, 2011 at 8:10 Comment(3)
can i set different color on different dates according to my need?Indication
this page is not avilable???Thylacine
Still there, as of today at least: will probably be migrating to Github after google code shuts down.Adolphus
R
3

I've written a simple calendar view much like the one used on google calendar app. I provides automatic scrolling and does provide simple way to customize the way it looks. It also provides a simple api for querying dates/listener for when dates are selected or when the calendar is scrolled. It also has a bunch of tests along with it. It should also be easy to change the look and feel because it uses android paint for drawing, so you can change it however you like!

https://github.com/SundeepK/CompactCalendarView

Repulse answered 4/6, 2015 at 10:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.