How do I set AM/PM in a TimePicker?

后端 未结 5 1770
有刺的猬
有刺的猬 2020-12-18 18:40

I am using a TimePicker in my app. Whenever the user opens the screen with the TimePicker, I initialize it with the current time. When I do this, the TimePicker shows AM ins

5条回答
  •  离开以前
    2020-12-18 18:53

    I think you have to override the onTimeSet() method of the Timepicker. Check this link

    TimePickerDialog and AM or PM

    May it helps you..

提交回复
热议问题