GitHub: https://github.com/JZXiang
中文版文档
An Android time picker library.
It's easy to use.
Supports five types.(YEAR_MONTH,YEAR_MONTH_DAY,MONTH_DAY_HOUR_MINUTE,YEAR_MONTH_DAY_HOUR_MINUTE,HOUR_MINUTE)
It can set the minimum millseconds.
Download APK
compile 'com.jzxiang.pickerview:TimePickerDialog:0.9.2'
mDialogAll = new TimePickerDialog.Builder() .setCallBack(this) .setCancelStringId("cancel") .setSureStringId("sure") .setTitleStringId("TimePicker") .setCyclic(false) .setMinMillseconds(System.currentTimeMillis()) .setCurrentMillseconds(System.currentTimeMillis()) .setThemeColor(getResources().getColor(R.color.timepicker_dialog_bg)) .setType(Type.ALL) .setWheelItemTextNormalColor(getResources().getColor(R.color.timetimepicker_default_text_color)) .setWheelItemTextSelectorColor(getResources().getColor(R.color.timepicker_toolbar_bg)) .setWheelItemTextSize(12) .build();
android-wheel