android - Common practice for handling time field EditTexts? -


so if have 3 edittexts: 1 hours, minutes, seconds, max length of 2 numbers per field, conceivable inputs "99" seconds or "99" hours example -- numbers >=60.

if entered 60 seconds you'd want same "1 minute 00 seconds" example.

is there common practice this, or common input field in android allows input of time in standardized way?

because otherwise end delving awkward dance of trying "translate" edittexts when done editing them (apparently there's no clean, consistent way this), there issue of happens when enters 9's , there no room "carry over" anything.

is there standardized input this?

yes, there standard widget enter time in android. can see in different forms here , there. it's timepicker widget. can find quick tutorial here.


Comments

Popular posts from this blog

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -