The default calendarView shows only the days between the minimum and maximum days inclusive if I set a minimum and maximum date. Is there any way to make all the days visible but have them be grayed out or do I have to create/use a separate calendarView in order to get that functionality?
At present, this can't be done.
See Android CalendarView for Showing Events and the numerous linked questions for similar problems.
You can either create your own custom CalendarView, or use an external library that provides more functionality. The two popular ones look to be Caldroid and android-calendar-view.
Related
My academic project require displaying the current month's calendar with few details like number of visits a user has made on particular day. No other functionality is required like reminder, note, etc. I just need to display the following format. I searched many calendar APIs but unable to find one which serves the purpose. Your help would be highly appreciated.
You can create your own calendar with use of a View pager and GridView . As i can see you need to select multiple days in particular month, you need a a customized one .
Checkout these links with, you'll get an idea about it:
1.Caldroid
2.calendarview
These are some awesome work by the coders you can use this in your project and take the idea of building a calender on your own.Thx.
I need some kind of NumberPicker for an App i'm developing, the Problem is: I have the requirement of Api Level 10, and from what the reference says Number Picker was first introduced in 11...
I looked at Date and Time Picker, but both use Numberpickers....
I really am quite new to Android and have no Idea how to create custom widgets, so by looking at the source i don't understand a lot of what is goind on beyond the surface and how those Layouts and Widgets depend on each other.
For now our App uses Spinners, but this is an university project and our professor said he doesn't really like them and would like us to use something similar to a number/date/timepicker...
My Requirements:
First part of my picked "number" is a letter (or more than one, up to a short word) after that two two digit numbers whose range needs to adjust depending on the picked letter.
Any ideas how i could do that better/prettier than by using three spinners and adjusting their arrays (if that is even possible)?
There is a question here on SO describing the same problem for API level 7 (see: How to use NumberPicker in Android app with API 7?). Unfortunately, the situation seems to be the same for api level 10: NumberPicker is not part of the android support library, so you have to look out for backports like this:
https://github.com/SimonVT/android-numberpicker
or write your own implementation.
I am designing an app which will show a calendar with various different colours on days to denote events which are happening on each day, I have had a look at the Android calendar view but this does not offer the customisability that is needed.
Are there any such views that have the capability to change the style of individual days or am I better off creating a view from scratch?
I know it's pretty late but there is a library called ZCustomCalendar that allows you to define custom views for different types of dates.
I think your best chance is using some open-source library/project.
Although I've never used this, I think your best option is TimesSquare, from Square. They have produce some great android libraries so you should be able to trust them to keep up bug-free.
Some runners up from Google top results : Caldroid which seems to be somewhat customizable and Android Calendar View which you can use as a base and modify the code to tailor it to your needs.
I'm trying to make a calendar in my app that behaves similar to the default Android calendar app, though simpler. I need it to display an icon (paperclip?) on indicated days. I've been looking at extending CalendarView, but
It only supports >3.0
The main class I'd need to override, WeekView, is private.
I might be able to work around the second point, but I need my application to at least support Froyo. I've looked briefly at others' implementations of CalendarViews, but they're either ugly or... ugly (and I'm not good at making things look good; I mostly rely on widgets that already look pretty).
Thanks!
I have been looking around and what I have found is a google code project for calendar view but it's not what I'm looking for.
What I'd like is the ability to use the view that is the default day view of the default Calendar application. Does anyone know whether or not I can use it's day view in my app or if their is one that was developed and released that I can use?
Again I don't want a full month view or really even a week view. At the moment I just want a day view like so many of us use to quickly glance at what we've got going on for the day.
I'm also not interested at this time of fetching google calendar appointments or merging with them. This will be a separate list of appointments / tasks that from their own data source. I have all that done now I'm just trying to find a pretty way to display them (listview is a tad bit basic lol).
Does anyone know whether or not I can use it's day view in my app or if their is one that was developed and released that I can use?
You can probably find the source code for it in the Android open source project, but it may not be designed for reuse.
Android 3.x has a CalendarView widget; once the source code for Android 3.x is released (hopefully later this year), it may be that you can back-port that to older Android versions.
The iosched application from Google I|O 2011 has its own calendar view.
Most of the functionality that is hard to write is already in the java.util.Calendar class and subclasses. It should be fairly easy to write a thin UI wrapper around an instance of Calendar? You would only be re-inventing the user interface, not date logic :-)