Android7.0中文文件(API)--- DatePicker
阿新 • • 發佈:2019-02-04
DatePicker
public class DatePicker
Provides a widget for selecting a date.
一個選擇日期的控制元件。
When the attribute is set to
spinner
, the date can be selected using year, month, and day spinners or a
. The set of spinners and the calendar view are automatically synchronized. The client can customize whether only the spinners, or
only the calendar view, or both to be displayed.
當屬性設定為spinner
When the attribute is set to
calendar
, the month and day can be selected using a calendar-style view while the year can be selected separately using a list.
當屬性設定為calendar
時,可以使用日曆樣式的檢視來選擇月份和日期,並使用一個列表來單獨選擇年份。
摘要
巢狀類 |
|
---|---|
interface |
The callback used to indicate the user changed the date. |