TheDevMan
TheDevMan

Reputation: 5954

Android Calendar API with Event

I am looking for way to get a calendar view with Event added on specific date something like the below:

enter image description here And when I click on the calendar date another activity has to be opened?

Can the default calendar View help me doing the same or is there any other API that can help get the result like above?

Let me know!

Thanks!

Upvotes: 0

Views: 1979

Answers (2)

Ashwini
Ashwini

Reputation: 1

You can use default calendarview, I have used material calendarview for similar result.
You can even add events in text form as well as you can show drawable images with texts there.
See the line of code:

List<EventDay> events = new ArrayList<>();
events.add(new EventDay(calendar, CalendarUtils.getDrawableText(this, "₹"+wonAmt, Typeface.DEFAULT_BOLD, R.color.green, 8)));

Upvotes: 0

PAC
PAC

Reputation: 1684

You can use default calender library like

or you can use Caldroid

Upvotes: 2

Related Questions