Code example for DatePickerDialog

Methods: show

0
		 
		button01.setOnClickListener(new OnClickListener() {
 
			@Override 
			public void onClick(View v) {
				datePickerDialog.show();
			} 
			 
		}); 
		 
		button02.setOnClickListener(new OnClickListener() {
 
			@Override 
			public void onClick(View v) {
				timePickerDialog.show();
			} 
			 
		}); 
		 
	} 
Contextual code suggestions in your IDE  Get Codota for Java