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
1
vote
1 answer

Using Caldroid inside Fragment

Im using Caldroid library. I want to use it inside my layout. My layout also includes textview. But when I use Caldroid with framelayout the other views disappear. Here is XML and Java codes using Caldroid with FrameLayout.
Metehan Toksoy
  • 1,885
  • 3
  • 22
  • 39
1
vote
1 answer

Android - How to set the height of caldroid dynamically?

I am a newbie to android development and started playing with caldroid few days ago. However I have a problem on setting the height of my caldroid. I would like to display all the days in each month, and below the caldroid will have something else…
bencmh
  • 11
  • 2
1
vote
1 answer

Language Locale Caldroid

I am trying to put the Caldroid library in another language but can not. Here is my code : public void setLocale() { Locale locale = new Locale("ca", "ES"); Locale.setDefault(locale); Configuration config = new Configuration(); …
1
vote
1 answer

Caldroid Null Object Reference

I'm using the Caldroid library for my app inside of a Fragment. Whenever I try to add a statement to edit the Caldroid Frgment it gives me a null object reference on the caldroid fragment. It looks like I did everything the documentation said to do…
Jared
  • 85
  • 1
  • 9
1
vote
2 answers

Create a background resource with dynamic color at runtime in android

I am using CaldroidFragment for my application. Now I am trying to set the background color of a specific date using CaldroidFragment.setBackgroundResourceForDate(int backgroundRes, java.util.Date…
sabbir
  • 438
  • 3
  • 11
1
vote
1 answer

Caldroid Dialog and FragmentActivity

I'm building an app in which I need a calendar so the user can pick a date. I'm trying to embed the Caldroid library in my project and I want to show the calendar not in a new Activity, but in a Dialog instead. My questions are: Since I'm using an…
Oh hi Mark
  • 153
  • 1
  • 8
  • 28
1
vote
1 answer

Caldroid does not refresh

I have put Caldroid inside my activity with this code in onCreate method. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); app_font =…
Dejan
  • 3,046
  • 3
  • 28
  • 43
1
vote
2 answers

Add Caldroid library in Android Studio

I have a problem when adding Caldroid library on Android Studio. I try many different ways to add but it won't work. I use Android Studio 0.8.2. First off, I created a root folder called libraries. I created a new folder caldroid in…
Olkunmustafa
  • 3,103
  • 9
  • 42
  • 55
1
vote
1 answer

Current week in Caldroid calendar

I am working with Caldroid for my project. By default, I have to display the current week in the gridView. When a user swipe to the right, it will display the next week, and when a user swipe to the left, it will display the previous week. How can I…
1
vote
1 answer

Caldroid, ActionBarSherlock and Maven

I am trying to use Caldroid inside my simple HelloWorld application which previously included ActionBarSherlock under a Maven managed structure. As I need to use a support package for ABS and Caldroid, I want Caldroid to use the same one. Currently,…
aloplop85
  • 892
  • 3
  • 16
  • 40
0
votes
0 answers

Caldroidlistener doesn't work under Kotlin

I'm trying to implement Caldroid in my Software. To check if the user is clicking anything, I am setting up a Listener like this: val listener = object : CaldroidListener() { fun onSelectDate(date: Date, view: View) { …
AncBug
  • 3
  • 3
0
votes
1 answer

Crash on FragmentTransaction in onCreate

My app was recently working great on everything until the latest version of Android came out. The Google Pixel is now crashing with the code below. I am trying to use the Caldroid calendar solution and it's been awesome working with it. However, it…
David Nelson
  • 752
  • 1
  • 10
  • 27
0
votes
0 answers

setBackgroundDrawableForDate caldroid not working

Hey im trying to do something like , when user clicks the button it gets the data from a dataBase column , named Datas in a for loop, it runs the for loop as many time as the maxID (if the max id is 10(10 dates) it runs 10 times) . Well and whit…
0
votes
0 answers

Pass a date from another fragment to caldroid fragment

Hello guys I´m wondering, how can I pass a date whit a button click to a caldroid calendar fragment? So I can edit that date color make clickable etc. Caldroid Fragment: public class Caldroid_fragment extends Fragment { @Override public View…
0
votes
1 answer

Android Caldroid selected date format issue

I want to highlight selected day in Caldroid calendar but when I am selecting the date it will successfully highlighted, but after that when I pick another date then it will highlight both the dates. for instance:- And expected output will…
Gaurav Takte
  • 607
  • 5
  • 22