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

Caldroid calendar unparsable date exception

I am trying to get the selected date in dd/MM/yyyy format from Caldroid calendar but when I am parsing the date it will throw an following error. java.text.ParseException: Unparseable date: "Thu May 04 00:00:00 GMT 2017" (at offset 0) Below is my…
Gaurav Takte
  • 607
  • 5
  • 22
0
votes
0 answers

Customize the caldroid calendar

I want the calendar like headout android app,Like when user will click on less date calendar can be expanded expanded calendar and when user will click on less dates calendar should collapsed to single row like collapsed calendar I am using caldroid…
Deepa
  • 1
  • 2
0
votes
1 answer

Why is the setBackgroundResourceForDate being showed in red?

Actually I am using the caldroid library for android but in it I could not find any proper documentation for setBackgroundResourceForDate function. The files I have imported are:- import android.annotation.SuppressLint; import…
lmgguy
  • 89
  • 2
  • 8
0
votes
0 answers

Android how to change Caldroid calendar background for months

Im trying do some changes in Caldroid calendar background. Here is libary for Caldroid calendar: https://github.com/roomorama/Caldroid Firs i put dark theme by following documentation, here is code for dark theme:
NoName
  • 273
  • 7
  • 21
0
votes
1 answer

How to disable highlight color when clicking to a cell in Caldroid Calendar?

I want to disable highlight color (orange in the picture attached). How to do it? Thank you!
Duong Nguyen
  • 172
  • 1
  • 9
0
votes
2 answers

Caldroid: How to modify size and position

I am trying to include Caldroid calendar in my activity. I want that the calendar ocuppy 3/4 of the screen like this: But it always shows at the top of the screen. This is my layout:
garciam202
  • 591
  • 2
  • 7
  • 17
0
votes
1 answer

Background drawable for Caldroid

Hi i am using Caldroid library for customizing calendar view in my habit tracker app and there are two hash maps successMap and failureMap representing successful and failed days of a habit. I am setting green circular background drawable for…
Sahil Shokeen
  • 336
  • 3
  • 22
0
votes
1 answer

Android calendar (caldroid) create 2 calendar views

Hi I'm using Caldroid calendar, and I use initialization code from official site only I use getFragmentManager() instead getSupportFragmentManager() because I use code in class which extend from Fragment not Activity. MysTab is fragment of…
Aligator
  • 737
  • 2
  • 10
  • 23
0
votes
1 answer

Saving RecyclerView/Notes for Later Use

I'm trying to re-design my app, but I'm not sure the best way to go about it. I currently have an expandable list view with some workouts as the headers/parent items. Each workout has 4 child items, representing 4 weeks. When the user clicks a week,…
LBJ33
  • 425
  • 11
  • 29
0
votes
2 answers

Android: How to convert string into date

I am currently working on a calendar application using Caldroid and the date that Caldroid returns looks like this: Fri Jun 17 12:31:00 GMT+07:00 2016 I just need to extract the date from it like for example: 17-06-2016 How am I supposed to do…
user3401369
  • 87
  • 1
  • 8
0
votes
1 answer

NullPointException on Caldroid function setBackgroundDrawableForDate

I'm using Caldroid Lib to create a custom calendar inside my Android App, when loading a date value in setBackgroundDrawableForDate i am using the following lines of code. public class CaldroidSample extends AppCompatActivity { @Override public…
code_boy
  • 43
  • 5
0
votes
1 answer

how to change multi dates color in caldroid

Code block has been formatted for better visibility guys i'm trying to change color of different dates void changeEventDateColor(){ DatabaseHandler databaseHandler=new DatabaseHandler(this); List
0
votes
1 answer

Adding events to caldroid

am new to android. am creating a calendar using cal-droid library. I have set of data`s from the server, and I need to highlight those event dates in the calendar and also upon taping on a particular date, display the list of events for that date in…
user
  • 87
  • 8
0
votes
1 answer

Calendar which move apart

I would like to implement a mechanism/animation that makes when you press a cell in calendar, top and bottom (of calendar) move apart. It's any example module or api for that ?
0
votes
1 answer

Changing color of cells on calendar

I have learned that you cant add events to the default calendarview (it just gets handled in the user's default calendar) so I am using caldroid https://github.com/roomorama/Caldroid/blob/master/README.md which has been pretty helpful with…
CTB
  • 9
  • 3