如何在Android应用程序自定义日历?自定义、应用程序、日历、如何在

2023-09-05 07:44:59 作者:想妳念妳不忘妳

我一定要建在为Android 2.1-2.3日历控件的应用程序。 我试图寻找一个内置的&放大器;外部库来实现这一点,但一直没能来。 因此,现在我已经决定要$ C C日历自己$。我想通过的GridView 这样做的。我如何去了解这一点。

I have to make an application with a calendar control built in for android 2.1-2.3. I have tried to search for a inbuilt & external library to achieve this but have not been able to. Hence now i have decide to code the calendar myself. i was thinking of doing it via GridView. How do i go about this.

如果有一个code可用,那么就产生就在这里。这真的是非常有益的。

If there is a code available then do produce it over here. It would really be very helpful.

推荐答案

我可以建议你看一看在谷歌日历源。您可能实际上只是利用其执行情况。使用一个GridView也还不错。看来Android也有一个 CalendarView 。我建议在看,虽然我不知道如果你需要什么。这将是确切地知道你需要的日历做虽然有帮助的。现在的问题是非常广阔的。

May I recommend you take a look at the Google Calendar source. You may in fact just use their implementation. Using a GridView is also not bad. Android seems to also have a CalendarView. I would recommend looking at that, although I am not sure if its what you need. It would be helpful to know exactly what you need the calendar to do though. The question is very broad.