Questions tagged [calendarview]

CalendarView is a calendar widget for displaying and selecting dates.

CalendarView is a widget for displaying and selecting dates.

Most often it refers to Android's CalendarView. The range of dates supported by it are configurable. The user can select a date by tapping on it, and it's possible to scroll and fling the calendar to a desired date.

375 questions
8
votes
1 answer

Android 3.0 CalendarView

I'm trying to implement a CalendarView, it takes an absurd amount of time (about 10 seconds) to appear on screen and it only loads the month and weekday headers, it does not display any calendar content. Using the same code from this video but not…
Graham
  • 993
  • 6
  • 19
8
votes
2 answers

Using multiple DotSpan's in MaterialCalendarView

Is there any way of attaching more than 1 DotSpan's to a date with Android MaterialCalendarView? Altough I have 2 DotSpan's added to my CalendarView it's still displaying only 1 DotSpan... I'm using the following code: @Override public boolean…
user754730
  • 1,341
  • 5
  • 31
  • 62
8
votes
2 answers

Slow opening of MaterialCalendarView

I am using MaterialCalendarView (https://github.com/prolificinteractive/material-calendarview) in my app. It is inside one of my fragments. When I open this fragment, it takes about 2 seconds to load - I can see screen lag. It is really annoying. I…
MaTTo
  • 2,326
  • 5
  • 20
  • 24
8
votes
3 answers

How do I display a CalendarView in an AlertDialog?

I'm trying to display the CalendarView in an Alert Dialog, but all that shows up is the month/year and the days of the week. These are the contents of the layout file:
7
votes
8 answers

CalendarView today date item click

I searched a lot on the internet and I couldn't succeed to find correct solution for CalendarView click on today date. I need to use CalendarView for events app. setOnDateChangeListener works good for other day clicks. Code: CalendarView…
Aleksa
  • 225
  • 1
  • 4
  • 8
7
votes
2 answers

How to display Monday as first day CalendarView

With: Calendar cal = Calendar.getInstance(); cal.setFirstDayOfWeek(Calendar.MONDAY); you just set Monday's integer value to 0, but I want to have Monday displayed as first day (at the left end, and Sunday at the right)
Werdli
  • 235
  • 1
  • 4
  • 11
7
votes
2 answers

How to add icon or change calendarview's day icon?

I'm developing a calendar application and here's what i want to do; for example, i have various activities in various days of a month and on the calendar, i want to add an icon to days which have activity(a concert for example). if a day does not…
6
votes
2 answers

How to change Month text color in CalendarView

I use CalendarView in my project and I need to make a special design for it. I can change colours of all things in CalendarView but only not colour of month on the top of calendar. I tried all attributes in xml. How I can change colour of month…
6
votes
2 answers

Is it possible to localize CalendarView or DatePicker?

My users' calendar is Persian calendar. I have an algorithm to change date and time between western and Persian calendar. I want to use CalendarView or DatePicker for my users for selecting dates. Is it possible to localize CalendarView and…
Conscious
  • 1,603
  • 3
  • 18
  • 16
5
votes
5 answers

GridView for calendar view

Parts of my old app are deprecated, I am trying to rebuild it. Basically it is a Calendar with month view. This is a part of my gridview adapter: public View getView(int position, View view, ViewGroup parent) { Date date = getItem(position); …
Dan NoNeed
  • 51
  • 3
5
votes
2 answers

Android Calendar View change text color

I have a CalendarView in my app. But I would like to have the background of the CalendarView black and the text inside the CalendarView white. But in xml there is no TextColor= in the CalendarView. So how can I change the text of the CalendarView? I…
Okke Trommelen
  • 165
  • 1
  • 3
  • 12
5
votes
0 answers

Android Studio: Create a calendarView with listView for each day

I am very new to Android studio so just judge. I want to create a Calendaring that has a list below it for each day. This is what I have: But I have been trying to get my head around how to write the functions for each. I had a few ideas like two…
Sindri Þór
  • 2,887
  • 3
  • 26
  • 32
5
votes
1 answer

Custom CalendarView(Hijri)

My app is about Hijri(Islamic)calendar but default android CalendarView is gregorian! How can I customize Android Calendar View?! I need some thing like this:
Hadi Beigy
  • 101
  • 2
  • 8
5
votes
2 answers

Add event to CalendarView

I think the question says it all: is it possible to display events in the Android default CalendarView? I know that it is made for widgets and not for a real Calendar application but my app should not be a Calendar application. It is only a little…
Cilenco
  • 6,951
  • 17
  • 72
  • 152
5
votes
1 answer

Display google calendar on Android calendarView widget?

My question is simple, is there a way to display a Google Calendar using Android calendarView inside an application? I can't find a way to do so
lamp ard
  • 871
  • 2
  • 10
  • 19
1
2
3
24 25