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
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 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.
i want to create a view just like image. How can i accomplish this.I have seach about this but not able to create just like this view. Can any body help me.
I have create the calender but the unable to show the bars
Thanks
You can use Yadview library from this link : https://code.google.com/p/yadview
It loads, lays out and displays events. yadview is intended to be more robust in handling of events from various sources, rendering differently.
It works really good for me!
there is a library that you can use:
https://github.com/roomorama/Caldroid
Embedded as a fragment or shown as dialog
Set min/max date. The date outside min/max range is marked as disabled
Set disabled dates
Select dates fromDate to toDate
Client can listen to various events when user interacts with Calendar
Customize look and feel
I have a range say,1-100 and i want the user to select a value from this range.Ofcourse showing this with a spinner will be awful.I want to use the functionality of date widget,where we can pick a date by pressing a +/- sign,the longer the press ,higher the iteration speed.
I found numberpicker.java that has the code the date widget uses to get this functionality, but do i have to paste that entire code to achieve this functionality!
Here is a tutorial on how to pull out NumberPicker; I've followed it myself: http://www.quietlycoding.com/?p=5
I found numberpicker.java that has the
code the date widget uses to get this
functionality, but do i have to paste
that entire code to achieve this
functionality!
Unfortunately, yes, plus perhaps some resources as well (I have not looked at that code recently). I am not aware of anyone who has pulled that out to make a reusable component, and it is not a widget in the SDK.
Sorry!