Time Picker

Android Time Picker Dialog Example

In Android, we can display Time Picker in the dialog box itself.
Here is an example to show how to display the time picker in the dialog box in order to get the time.

[sourcecode language="xml"]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
androi

Syndicate content