Request focus when renaming track.
This commit is contained in:
parent
222422b884
commit
e73023c892
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class RenameTrackDialog (private var renameTrackListener: RenameTrackListener) {
|
||||||
inputField.setText(trackName, TextView.BufferType.EDITABLE)
|
inputField.setText(trackName, TextView.BufferType.EDITABLE)
|
||||||
inputField.setSelection(trackName.length)
|
inputField.setSelection(trackName.length)
|
||||||
inputField.inputType = InputType.TYPE_CLASS_TEXT
|
inputField.inputType = InputType.TYPE_CLASS_TEXT
|
||||||
|
inputField.requestFocus()
|
||||||
|
|
||||||
// set dialog view
|
// set dialog view
|
||||||
builder.setView(view)
|
builder.setView(view)
|
||||||
|
|
Loading…
Reference in a new issue