Calendar c = Calendar.getInstance(); int i = c.get(Calendar.HOUR_OF_DAY)-1; mTimePicker.setCurrentHour(i);
Android开发TimePicker弹窗,如何默认显示当前时间的前一小时
猜你喜欢
转载自blog.csdn.net/congcongguniang/article/details/82852667
今日推荐
周排行