Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flavienlaurent/datetimepicker

DateTimePicker is a library which contains the beautiful DatePicker that can be seen in the new Google Agenda app.
https://github.com/flavienlaurent/datetimepicker

Last synced: about 8 hours ago
JSON representation

DateTimePicker is a library which contains the beautiful DatePicker that can be seen in the new Google Agenda app.

Awesome Lists containing this project

README

        

Official source:

https://android.googlesource.com/platform/frameworks/opt/datetimepicker/
(Android 4.3+)

#DateTimePicker

DateTimePicker is a library which contains the beautiful DatePicker and TimePicker that can be seen in the new Google Agenda app.

**This picker is available for 2.1+**

You have a recurrence picker in the same style [here](https://github.com/Shusshu/Android-RecurrencePicker).

## WARNING

* Requires android-support-v4 and [NineOldAndroids][5]
* Accessibility is missing for DatePicker on all devices and Below ICS devices for TimePicker.
* Scroll adjustment is missing below ICS devices for TimePicker and DatePicker.

## Description

This library reproduces as much as possible the original picker contained in the new Google Agenda app.

![Example Image][1]

Try out the sample APK [here][2]

Or browse the [source code of the sample application][3] for a complete example of use.

## Including in your project

Last version is 0.0.2

Just add the following statement in your build.gradle

compile 'com.github.flavienlaurent.datetimepicker:library:VERSION'

## Usage

Using the library is simple, just look at the source code of the provided sample [here][4]

## Acknowledgements

* Thanks to Google for this beautiful picker

## License

Copyright 2013 Flavien Laurent (DatePicker) edisonw (TimePicker)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

[1]: https://raw.github.com/biboune/datetimepicker/master/graphics/img1.png
[2]: https://raw.github.com/biboune/datetimepicker/master/datetimepicker-sample.apk
[3]: https://github.com/biboune/datetimepicker/tree/master/datetimepicker-sample
[4]: https://github.com/biboune/datetimepicker/blob/master/datetimepicker-sample/src/com/fourmob/datetimepicker/sample/MainActivity.java
[5]: http://nineoldandroids.com/