Skip to content

yxcNeu/TimePickerDialog

 
 

Repository files navigation

Welcome to follow me on GitHub

GitHub: https://github.com/JZXiang


中文版文档

TimerPickerDialog

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

gradle, latest version:

   compile 'com.jzxiang.pickerview:TimePickerDialog:0.9.2'

Demo picture

An example configuration

    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();

Thanks

android-wheel

About

An Android time picker library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%