android time edittext code example
Example 1: set text in edittext android
EditText editText = (EditText)findViewById(R.id.edit_text);
editText.setText("This sets the text.", TextView.BufferType.EDITABLE);
Example 2: time text format kotlin android studio
val currentTime: String = SimpleDateFormat("HH:mm:ss", Locale.getDefault()).format(Date())
//for time