問(wèn)題描述
我有一個(gè)包含日期和詳細(xì)信息的 HTML 表格.我想在日歷視圖中顯示它.我找到了內(nèi)置的 API 11 CalendarView
,但是當(dāng)我使用 API 8(我需要它...)時(shí),我無(wú)法對(duì)其進(jìn)行充氣.
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?
推薦答案
正如你所說(shuō),在舊的 api 級(jí)別中無(wú)法顯示日歷,但你可以嘗試一些開(kāi)源項(xiàng)目:
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李>
這篇關(guān)于Android GingerBread 及之前的日歷視圖 (API<11)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!