Selecting multiple dates across one simultaneous touch of calendar in android - android

I want to create a custom calendar in which user can select multiple dates while touching from one start date to another end date in one move.
something like u can see in the image above. How to achieve this? any idea or source please suggest. Thanks in advance !! :)

EDIT: I'm sorry but android CalendarView doesn't support this feature. You can't select multiple dates in it.
Maybe you should look for some kind of third party library to do that.

Related

How can I display monthly Calendar view in Android as required?

My academic project require displaying the current month's calendar with few details like number of visits a user has made on particular day. No other functionality is required like reminder, note, etc. I just need to display the following format. I searched many calendar APIs but unable to find one which serves the purpose. Your help would be highly appreciated.
You can create your own calendar with use of a View pager and GridView . As i can see you need to select multiple days in particular month, you need a a customized one .
Checkout these links with, you'll get an idea about it:
1.Caldroid
2.calendarview
These are some awesome work by the coders you can use this in your project and take the idea of building a calender on your own.Thx.

Android (Xamarin) calendar with highlighted days and click events

I'm trying to code a calendar page that highlights certain days with events on them. The calendar also needs to be able to disable certain dates from being clicked, such that the user is unable to select those dates. The designs of the calendar page are as follows:
I've looked for tutorials but was unable to find any that fits the requirements of my app, without using a library. Is there really no way to achieve this without the use of a library? And if I do have to use a library, how should I go about integrating it in this Xamarin application?
Any help or advice to point me in the right direction would be greatly appreciated. Thanks!
Your requirements can take time to implement, using a 3rd-party Library is what you might be looking for.
This library: XamForms.Controls.Calendar has some great controls as what I can see will suit your needs, over all it has a great documentation so give it a try!
Did you try the below link ?
https://github.com/rebeccaXam/XamForms.Controls.Calendar
There other UI library controls which you might be interested in
Xuni http://www.goxuni.com/672835-a-deep-look-at-the-new-xuni-calendar-control/
Syncfusion https://help.syncfusion.com/xamarin/sfcalendar/getting-started
Telerik http://www.telerik.com/xamarin-ui/calendar
I have created a custom calendar earlier which is very simple and show Month and Year view.You could give it a try.
You can check out the code from here:
https://github.com/bhavya27/BXCalendar
Blog: https://medium.com/#bhavyajoshi2793/custom-calendar-in-xamarin-for-android-ios-windows-578f1136daec

How to select time ranges in android?

I know I can use TimePicker to select time in android. But, I have to pick a time interval like from-to. Ex 03:00 AM-09:00 AM.
I have seen a something like in the following figure.
I came to know it is RangeSeekBar. I don't know how to use it to select time range and don't know how to set RangeValues to this RangeSeekBar. If anybody familiar with this custom widget means please do help me. At this moment I'm stuck in my project because don't know how to implement this. Thanks.

How to implent week view calender in android?

I want to implement a Week View Calender like the ones below. Another example may be the ICS Google Calender. The events will come from a database. So far i don't know where to start. Any ideas how i do this? Code and layout will be appreciated.
The calendar application that comes with stock android is open source. You can see the source code here. Getting a feel for this applications layout might be a good place to start.
Maybe you'll want to reuse some of this code.
Android Week View. can you use this Source code here

Develop Bi-directional Spinner in Android

I need to create a Bi-directional spinner in Android .
Providing the following sample:
Can anyone provide any inputs ?
Thanks in Advance.
Does this help?
Android Number Picker Dialog
I'd agree with #Matt that a number picker is probably the best way. I wouldn't try and exactly duplicate the look of a windows form, as on a touch screen those up/down arrows are going to be very small.
If you really want the up/down functionality and are planning on using much larger buttons then you just need a couple of onClickListeners, one to increment the value and one to decrement.

Categories

Resources