I have to show the time picker in hh:mm format on Click the edit text.So that I had used the below code.
MainActivity.java:
e6.set
Just use this method,
private String getDD(int num) { return num > 9 ? "" + num : "0" + num; }