FileDocCategorySizeDatePackage
DatePickerActivity.javaAPI DocAndroid 5.1 API1356Thu Mar 12 22:22:44 GMT 2015com.android.test.hwui

DatePickerActivity

public class DatePickerActivity extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        DatePicker picker = new DatePicker(this);
        picker.init(2012, 3, 3, true, new DatePicker.OnDateChangedListener() {
            @Override
            public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
            }
        });
        setContentView(picker);
        getWindow().setBackgroundDrawable(new ColorDrawable(0xffffffff));