83
Android TimePicker Example
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
Output: