I want to create a dialog which can select the time and the date at the same time.
I know that there is not a default widget that can do that on Android. I also know that there are open source projects on how do similar staff. The problem in this project is that in the dialog we have two buttons: datePicker and timePicker.
And that's not what I want to do - I want that the date and time picker appear at the same time.
So I think the two main problem will be:
- First make the time and date picker appear in the same dialog.
- And the second problem will be to change the appearance of time and date picker (the orange color).
The first problem was resolved by Bhavesh. Here is what I get:
The problem now is that I want to change all blue bar color to orange color.
I added android:calendarViewShown="false"
to remove the calendar in the right :) Thanks Bhavesh and I changed the theme to HOLO
Here is what I get:
You can download the code (that's the best I can do). You can download from here.