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!
发布评论
评论(2)
呵呵。我们之前已经这样做过:请参阅 http://code.google.com/p/android-calendar-查看/。
如果您想从图像中获得精确的外观和感觉,您将需要做额外的样式工作:但这就是开源的目的。
享受。
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.
我编写了一个简单的日历视图,非常类似于谷歌日历应用程序上使用的视图。我提供自动滚动,并提供简单的方法来自定义它的外观。它还提供了一个简单的 api,用于查询日期/监听器,了解何时选择日期或何时滚动日历。它还附带了一系列测试。它也应该很容易改变外观和感觉,因为它使用 Android Paint 进行绘图,所以你可以随心所欲地改变它!
https://github.com/SundeepK/CompactCalendarView
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