added layout changes and DatePicker example code