How to have this type of time picker in Android?

android, layout, timepicker

Solution

Please have a look at this tutorial . you will get the project over there . http://www.zainodis.com/2011/05/android-custom-timepicker.html

have a look at this example number picker.. like this you can change it into for time picker. Android Number Picker Dialog

Problem

I am developing an application in which i want to show time picker to set a time for reminder. Right now I am able to show a time-picker using preference screen like this ``` <org.example.android.TimePreference android:defaultValue="12:00" android:key="check_time" android:summary="Set your desired time for check" android:title="Check time" /> ``` `TimePreference.java` file is inherited from this TimePicker in PreferenceScreen link. But I want to show this on button click in particular activity and set it values in `EditText` or in `TextView`. I don't want to use preferences. So, I want to make the layout of this screen like below image.

Original source

Related problems