需要帮助构建适用于 Android 2.2 的日历 UI。关于如何开始有什么建议吗?

发布于 2024-09-28 20:22:27 字数 384 浏览 0 评论 0原文

我正在为 Android 操作系统构建一个日历应用程序。我之前制作过一些带有内置 Android 小部件(如按钮和微调器等)的 Android 应用程序。现在我想创建一个 Android 应用程序,显示日历的 4 个“选项卡式”视图(月、周、日和列表)。我已经为应用程序构建了后端内容,我只需要在交互式 UI 中显示事件。我对此有几个问题:

  1. 关于如何执行此操作有什么建议吗?我是否应该有一个带有 gridview 的 xml 文件,可以根据用户交互+当前时间实时更新。如果是这样,那么您有任何开源示例吗?
  2. 是否有任何开源日历应用程序可供我检查日历 UI 信息?
  3. 我必须根据当前日期和时间更新日历 UI。我该怎么做?

也欢迎任何其他建议。

谢谢。

I am building a Calendar Application for Android OS. I have previously made some Android applications with built-in android widgets such as buttons and spinners etc. Now I want to create an Android Application that displays 4 'tabbed' views of a Calendar (month, week, day & list). I have already built the backend stuff for the application, I just need to display the events in an interactive UI. I have a few questions regarding this:

  1. Any suggestions on how to go about doing this? Should I have a xml file with gridview that can update in real-time according to user interactions + current time. If so then do you have any open-source example of this?
  2. Are there any open source calendar applications I can check for Calendar UI information?
  3. I have to update the Calendar UI according to the current day and time. How can I do this?

Any other suggestions are also welcome.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

枕梦 2024-10-05 20:22:27

It might be of interest to take a look at the Android Calendar source.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文