Skip to content

Default Android time picker to "type in" mode? #12705

Answered by jquick-axway
rcdarwin asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately no. I'm not aware of any native Java API that will make it default to the text editor side.

Perhaps an alternative solution would be to show a read-only TextField instead, and when it receives the focus, show the time picker as a dialog. Now the dialog will default to the clock as well, but I think this type of UI interface looks fine for a dialog. The only issue is doing it this way isn't portable with iOS... although the time picker handling doesn't line up between Android and iOS anyways.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rcdarwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants