DatePicker works in landscape mode for Android

The TimeAndDatePicker can now detect the orientation and correctly set the layout (horizontal or vertical).