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
0
votes
1 answer

CalendarView.setTime issues

I'm having issues trying to use .setTime on a CalendarView object, see code below. package com.example.calendar_test; import java.util.Calendar; import java.util.Date; import android.os.Bundle; import android.app.Activity; import…
John Czajka
  • 183
  • 1
  • 1
  • 11
0
votes
1 answer

Change in month in Android Calendar View calls setOnDateChangeListener

I want to call an asynctask on change of a date. So I am using the following code which is working fine. But some unexpected things are happening here. CalendarView cv = (CalendarView)…
nitin
  • 571
  • 1
  • 4
  • 16
0
votes
2 answers

Date not coming in desired format

In my App, I am using Calendar View. So , I have drawn a custom Calendar View using this tutorial. As I want the selected date format in dd-MM-yyyy so for this I have changed this line df = new SimpleDateFormat("yyyy-MM-dd", Locale.US); into…
Android
  • 183
  • 1
  • 13
0
votes
1 answer

Android scrollable calendar with full year

I stuck on a CalendarView, I need to do something like: How can I achieve this? Calling instance for each month is obviously bad idea...
0
votes
4 answers

I can't get the EditText value

I have a layout with a CalendarView and EditText and I show them in an AlertDialog, but I can't get the value of EditText (numberDecimal) when I click OK. private void dialogHoras() { LayoutInflater inflater =…
lokoxumusu
  • 61
  • 1
  • 10
0
votes
1 answer

CalendarView horizontal lines disappear

I created an activity with a CalendarView. When scrolling up and down, sometimes one of the grey horizontal lines disappears. See the following image for the lines I am talking about. What causes this? view_calendar.xml
stefana
  • 2,606
  • 3
  • 29
  • 47
0
votes
1 answer

CalendarView in Dialog

i would like to display a CalendarView in a dialog , at the center of the screen. Why in the dialog ? Because when i open my CalendarView , it's take all the screen , whereas i would like to display it , in dialog to see the background.. So it's my…
Thomas Trabelsi
  • 330
  • 1
  • 8
  • 21
0
votes
1 answer

setMinDate for CalendarView

I'm trying to set the minimum date programmatically for a CalendarView widget like this: setContentView(R.layout.dialog_date_select); CalendarView calendar = (CalendarView)…
SecretBit
  • 127
  • 2
  • 16
0
votes
1 answer

Uncaught TypeError: Cannot read property 'selection' of undefined?

while loading my calendar i have the error Uncaught TypeError: Cannot read property 'selection' of undefined my view is ` calldata.calendar
Anuradha Nair
  • 81
  • 1
  • 7
0
votes
1 answer

Android CalendarView in Support library

I have been trying to make an app with a calendar view, but the one I have been using is not working when I try to scale it across multiple devices. Does android have a calendarview in the support library? I need to use the calendar to pick a…
superuser
  • 731
  • 10
  • 28
0
votes
2 answers

Data passing via intent

I am trying to pass a selected date from CalendarView via an intent from activity no1 to activity no2. The activity no2 opens without any problems but the selected date is not displayed. Here is the code for activity no1: String syear =…
SoCo
  • 1,934
  • 2
  • 15
  • 20
0
votes
1 answer

android native calendar app get notified OF what is the current date displayed to user on the calendar

i want my app be notified of the month and week that the user navigate on the calendar app so that when the user navigate to a month that doesn't have my app appointments i can load these appointments and update the calendar.
Islam Mansour
  • 372
  • 2
  • 15
0
votes
1 answer

Display data in built in CalendarView

i am working on CalendarView.i am adding event in Calendar with this code. Intent intent = new Intent(Intent.ACTION_INSERT); intent.setData(CalendarContract.Events.CONTENT_URI); startActivity(intent); when device is…
Rum
  • 13
  • 1
  • 6
0
votes
1 answer

onSelectedDayChange from CalendarView retrieves the month wrong?

Ok, this might sound like a silly question but I'm just surprise of it happening; it seems like when you click on a day in a CalendarView, the month given from onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth) { is not…
AlvaroSantisteban
  • 5,256
  • 4
  • 41
  • 62
0
votes
0 answers

Android CalendarView - How to I have different colors on various dates?

I would like to use the CalendarView calendar to mirrow another central calendar. So all I basicly need is to have/store the data myself and then at least visually markup the Android CalendarView with which dates there are appointments/events.…
Tom
  • 3,587
  • 9
  • 69
  • 124
1 2 3
24
25