Questions tagged [caldroid]

Caldroid is a calendar view library for Android. Caldroid is a fragment that displays calendars with dates in a month. Caldroid can be used as embedded fragment, or as dialog fragment.

Caldroid is a fragment that displays calendars with dates in a month. Caldroid can be used as embedded fragment, or as dialog fragment. User can also swipe left/right to navigate to different months.

Caldroid is fully localized. Client can customize start day of the week for different countries. Calendars start on Sunday by default.

Caldroid can be used with Android 2.2 and above.

Link

52 questions
4
votes
1 answer

Only display current month's days in Caldroid

I am using the Caldroid library for my app, and I have ran into an issue. I only want the current month's dates to show up on my calendar. I have looked through the Caldroid documentation, but could not find anything. I know that I can set the max…
Derik
  • 45
  • 6
3
votes
4 answers

Error:Execution failed for task ':app:validateExternalOverrideSigning'

I am using caldroid library for calendar activity and It works fine. But I needed to change it's style. So I added caldroid library(directory) under the application like this. and I changed my dependencies dependencies { ... compile…
3
votes
1 answer

How to change background of Month cell and weekdays cell in Caldroid library in android

Iam using caldroid library for my project. I dont know how to change the month cell background and weekday cell background.
Bala Pravin
  • 101
  • 5
2
votes
0 answers

not able to display caldroid calendar on screen. what should be xml looks like for same?

I am new to android and looking for caldroid calendar view. Can anyone one share me sample xml and source code to see caldroid calendar? Or may be some pointer link. I tried https://github.com/roomorama/Caldroid/issues/128 but not able to find…
2
votes
1 answer

Error : Immutable bitmap passed to Canvas constructor

I pass the image from drawable reference like follows Bitmap bitmap = mImageGenerator.generateDateImage(calendar, R.drawable.data); it throws java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor I use same exact…
2
votes
0 answers

Adding Events to the calendar view Dynamically in android

We are trying to add Events to the calendar view dynamically in android by exploring Extended calendar view library,caldroid master library and other such libraries but we didn't get the solution. These are the following links which we have…
hemanth
  • 19
  • 5
2
votes
2 answers

How to disable all days till today in Caldroid calendar?

I'm using Caldroid library https://github.com/roomorama/Caldroid. I want to disable all dates earlier than today. How can I do that? There is method setDisableDates, but it requires passing as argument list of dates to disable.
user3626048
  • 706
  • 4
  • 19
  • 52
2
votes
1 answer

Get background color of clicked date

I'm using Caldroid and I have a problem with getting background color of clicked date. My listener looks like that: listener = new CaldroidListener() { @Override public void onSelectDate(Date date, View view) { //HERE I WANT TO CHECK…
AYMADA
  • 889
  • 3
  • 17
  • 37
1
vote
1 answer

How to fix ''boolean androidx.fragment.app.FragmentManagerImpl.isDestroyed()' on a null object reference' inside fragment with caldroid nested

i have an activity with navigation drawer with fragments and its compiling with androidx, in one of them i want to call a fragment that contains a custom caldroid and until now it works fine, but at the moment to finish the fragment or change to…
1
vote
1 answer

Android Caldroid Calendar Nullpointerexception error when calling from Activity to Fragment

I created Caldroid calendar via fragment: This is my CalendarFragment.java file where i create calendar: package com.petar.android.simplenote; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import…
NoName
  • 273
  • 7
  • 21
1
vote
1 answer

How to set start and end day(Date) of month using caldroid library?

How to Change start date and end date of month in calroid calendar lib if i want to modify calendar with shift my month start from 15 jan 2016 to 16 feb 2016.
Dashrath Rathod
  • 508
  • 1
  • 5
  • 15
1
vote
0 answers

How to disable Caldroid custom backround date in prev/next month?

I use Caldroid Library. I want to know how to disable custom background date in prev/next month (blue circle)?
1
vote
1 answer

Caldroid dynamic events from server when changing the month

I created a Caldroid fragment and i would like to populate it with daily event when initializing and every month changes event from server data. I planning to write an Asyntask with month parameter to get data from server. Then store them into an…
Jacky Chong
  • 172
  • 1
  • 10
1
vote
1 answer

Android calendar view displays two calendar using caldroid

I have a Calendar View in my activity, am using Caldroid library for displaying events. I am facing an issue that, for a calendar view it displays two calendar in my activity. calendarView = (CalendarView) findViewById(R.id.cvCalendar); final…
Krishna
  • 129
  • 1
  • 2
  • 9
1
vote
2 answers

How to decide the Caldroid height in ScrollView (How to decide the height of GridView embed in ScrollView)

The size of CaldroidFragment is messed when it is embed in a ScrollView. The reason is Caldroid uses GridView to render the calendar, and as an known issue that GridView cannot correctly measure it's height correctly inside ScrollView and so far…
Ke Di
  • 345
  • 1
  • 12
1
2 3 4