Code example for TimePicker

Methods: setVisibility

0
	 
	public void manageDeadLineCheckbox(View view){
		boolean on = enableDeadLine.isChecked();
		if (on){
			datePicker.setVisibility(View.VISIBLE);
			timePicker.setVisibility(View.VISIBLE);
		} else { 
			datePicker.setVisibility(View.INVISIBLE);
			timePicker.setVisibility(View.INVISIBLE);
		} 
	} 
	 
	public void cancelCheckList(View view){
		finish();
	} 
	 
	public void saveCheckList(View view){
		CheckListOpenHelper opener = new CheckListOpenHelper(this);
		String name = editName.getText().toString();
		String desc = editDescription.getText().toString();
		if (name !=  ""){