Skip to content

ericwongcm/numberpicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumberPicker for Android

endorse

This project is a modified fork from https://github.com/michaelnovakjr/numberpicker, which is an Android library project for a NumberPicker widget. This library has been tested on Android 2.1 through Android 4.0. The repository contains three parts described below. All source code is licensed under the Apache 2.0 License.

The purpose of the modification is to allow user to select hour/minute/seconds from the preference dialog, which is then converted and saved in seconds.

Project overview

  • lib - This is the library project that can be included in an Android project. This contains all the necessary resources and code for the functioning widget.
  • sample - This is an Android sample app that demonstrates the use of the NumberPicker widget in a layout, as part of a dialog or as a preference item.
  • tests - A set of unit tests for the library project.

Submitting patches

Patches for the project are welcome from anyone. The recommended practice for submitting a change is to fork the project, make your changes and submit a pull request to merge in your changes. It is recommended that you write tests for the functionality or bug you are fixing with your patch.

Changelog

2014-03-22 Eric Wong

  • Added hour/minute/seconds to preference dialog.

2012-03-06 Luca Santarelli @hrkdroid

  • Bug fix: Store the value of the TextView on keyboard input.

2011-10-24 Paul Bourke [email protected]

  • Updated library project to support the new SDK r14 tools.

2011-08-27 Xenofon Papadopoulos [email protected]

  • Added setWrap() method

  • Initialization will respect user-provided attributes in the layout, see the example in res/layout/main.xml

About

hour/minute/second picker widget for Android 2.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%