2013-12-13 72 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" 
     />