本文介绍了如何挑选使用TimePicker第二,机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用TimePicker使用户能够选择一次见这里和的的。但我因此未找到一种方法,让用户选择第二个也。现在,用户可以选择小时和分钟而不是秒。如果我想设置一个时间二时05分10秒,然后我有什么做的?如何挑选第二个使用TimePicker?

I have used TimePicker to make the user to choose time see here and here also. But I didnot find a way to make the user to select second also. Now user can select Hour and Minute but not second. If I want to set a time for 02:05:10 then what I have to do? How to pick a second using TimePicker?

推荐答案

我认为最好的解决方案是创建你自己的TimePicker,使用时间级和三个NumberPickers。

I think the best solution is to create your own TimePicker, by using the Time-class and three NumberPickers.

这篇关于如何挑选使用TimePicker第二,机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 18:21