Rollback layouts from code to XML

Add also some enhancement in DatePicker: code cleaning and
calendarViewShown on sw600dp & large devices