Android GingerBread 及之前的日历视图 (API<11)

时间:2023-04-20
本文介绍了Android GingerBread 及之前的日历视图 (API<11)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我有一个包含日期和详细信息的 HTML 表格.我想在日历视图中显示它.我找到了内置的 API 11 CalendarView,但是当我使用 API 8(我需要它...)时,我无法对其进行充气.

I'm having an HTML table with dates and details. I want to show it in a calendar view. I've found the built-in API 11 CalendarView, but I can't inflate it when I'm using API 8 (which I need...)

PS.我不需要功能齐全的日历.我只是想显示这些信息.

PS. I don't need a fully functioning calendar. I just want to show this information.

有什么办法可以解决吗?

Is there any way to solve it?

推荐答案

正如你所说,在旧的 api 级别中无法显示日历,但你可以尝试一些开源项目:

As you mentioned, there is no way to show a calendar in older api levels, but you can try some open source projects:

  • android-calendar-view
  • CalendarView

这篇关于Android GingerBread 及之前的日历视图 (API<11)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

上一篇:如何在 SharedPreferences 中保存和检索日期 下一篇:有什么好方法可以得到即将到来的星期三的日期

相关文章

最新文章