帮助!如何创建 Android 日历应用程序?
我创建了一个 GridView 来管理日历应用程序。这个想法是,用户将能够添加文本和图像到特定日期,并查看网格中的事件。
是否有任何日历库或内置类可以用来代替 GridView,或者是否有人有专门为此(或类似)目的使用 GridView 的经验?
带有代码的答案将非常感激。
I have created a GridView
to manage a Calendar application. The idea is that the user will be able to add text and images to specific days, and view events in the grid.
Are there any calendar libraries or built-in classes that I could use instead of GridView
, or does anyone have experience using a GridView
specifically for this (or a similar) purpose?
Answers with code would be very appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Android 3.0 (API 11)
没有创建自己的网格并尝试从头开始构建此日历,而是内置了 日历视图。在dev页面上,该视图的描述如下:尽管您无法直接在此
View
中键入内容,但您可以允许用户选择日期,并使用所选日期打开一个新的Activity
,让他或她使用以下命令添加文本EditText
,或选择一张照片。Instead of creating your own grid and attempting to build this calendar from scratch,
Android 3.0 (API 11)
has a built in Calendar View. On the dev page, this view is described as follows:Although you cannot type directly in this
View
, you can allow the user to select the date, and using the selected date open a newActivity
that lets him or her add text using anEditText
, or choose a photo.