2013-12-13 75 views
0

这样的IM创造一个显示DatePicker程序,但每次我的设备上运行它时,即时得到这里这个输出是图片:日期选取器搞砸

enter image description here

,我想改变这个:

enter image description here

我该怎么办呢?谢谢:)

+0

请检查该链接http://stackoverflow.com/questions/14254093/date-and-time -picker-dialog?rq = 1 并阅读本文http://www.filefactory.com/file/6mf3bl0alkhf/n/DateTimePicker_zip我不确定但可以帮助你。如果没有,然后评论 – 2013-12-13 07:38:56

回答

0

设置“机器人:calendarViewShown”值设置为false像下面和你做

 <DatePicker 
     android:id="@+id/datePicker1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:calendarViewShown="false" 
     />