Move DatePicker layout into code