I am working on a project where i have to horizontally scroll between dates.I don't want to use a date picker.I would like to have two arrows for previous and next buttons.When i click on the next button the next date should be shown.Also each time a new date is selected i want to call a web service by passing the particular date.How do i go about doing this?
I have considered using a horizontal date picker library but i am not satisfied with the solutions which i am finding on the internet.
You can use ViewPager for the same.
Related
enter image description here
Sorry for the language of that pics, it is korean.
I want to make a planner that can help me to be noticed my plan. As you can see the picture, it is a calender, and I can add some plan depend on a user. the korean meaning is my major of Uni. So it is just some schedule.
The problem is I don't have any idea how to make like that. The way to operate this app, I hope I can add my schedule on the specific dates like the pictures and, creat the interface like that. I can slide the planner and it leads the next dates. When the plan comes to me, it could notice me by sound.
I can't find the way how to code the function 'slide' and how change the months and dates automatically by sliding?
I have ever create an application like this picture for my job interview, you can use recyclerview to show the date as horizontal. Then you should create database to showing data by date selected. Then showing the data as vertical using recyclerview after selected date. This is really simple apps.. Below is picture i have
enter image description here
I am making an attendance app i want to highlight multiple dates where student is absent and also make calendar view not clickable.
only want to show calendar.
This question doesn't look, you have done any research.
However, you can use https://github.com/Applandeo/Material-Calendar-View
Pros:
Easily customizable. [I have used in 3-4 projects so far]
Fits in requirement like range picker, one-day selection (event based)
Lightweight library, few files/ less code. You can also strip off the unnecessary code of range picker and other if you want. As for me, the requirement was only One-day-picker
i want to highlight multiple dates where student is absent
You can create a list of object of EventDay which take the Calendar instance. You can pass it to the CalendarView. It will show the different event aka absentees in your case.
make calendar view not clickable
That's not the big deal, You can easily do that as CalendarView is a custom view itself.
This is my latest screenshot from one of my project. It work really well.
I want to develop an new android application , by i was wondering if there is some feature or a code availabale that allow me the folowing thing.
if you see the picture , you can understand what i want , i need some feature or component that can display the current date or any date , with a specific content (if you see the containter under the date) , i also need two buttons that could allow to go forward or backword , each time i change that date i get the correct date with the correct content.
any ideas , so i can figure out from where i can begin.
thanks.
You can use Toolbar widget and inflate your custom layout with Button,TextView,Button.
More info about Toolbar widet here
http://developer.android.com/reference/android/support/v7/widget/Toolbar.html
I need to get alarm start/end time from the user and would like to use the time picker dialog. However I checked the tutorial and I don't understand what I have to do to adapt it to my needs - like for instance in the alarm on Android with different TextViews and buttons.
I have not found a tutorial that shows how to adapt the time picker - could you please provide a link or an example on how to adapt the time picker.
CLARIFICATION:
All I need is the dialog that allows the user to provide hour and minute in the way the time picker does - everything else I would like to adapt. Eg add another TextView which changes value, depending on the hour + minute the user just selected (without pressing OK). I do not want the AM/PM field.
Or is it simply the best to just put two individualized number pickers or number sliders (if this exists) next to each other ? Then I need to handle all details like range etc myself! Possibly there is a sample for this somewhere?
Many thanks
I want to implement a date scroll label which displays a current date.
Now, user can touch the date and scroll either left or right direction ( something similar to unlock functionality or monthview scroller)
Based on the direction, either previous or next date should be displayed in the label part.
And user can do the same scrolling with multiple times.
Can anyone provide me the link for the tutorial which explains details about implementing such control.
Try this for start , http://www.kellbot.com/2009/06/android-hello-circle/