开发者

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

Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_C百科

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 4 years ago.

Improve this question

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

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

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


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜