Fix rotation resetting selection
Enable setting flags and modes in xml layouts
Make time button borderless and align center.

Also tested on Froyo, works just fine (though it obviously falls back to dialog popup in lack of dropdown).
The size of the time button (FLAG_HIDE_TIME) varies quite a lot between different versions of Android, but it shouldn't be too much of a problem.