trainingtrains Logo

91-9990449935

 0120-4256464

Android TimePicker Example

android time picker

Android TimePicker widget is used to select date. It allows you to select time by hour and minute. You cannot select time by seconds.

The android.widget.TimePicker is the subclass of FrameLayout class.

Android TimePicker Example

Let's see a simple example of android time picker.

activity_main.xml

File: activity_main.xml

Activity class

File: MainActivity.java