request focus on the dialpad input at launching the dialpad screen

This commit is contained in:
tibbi 2022-08-10 10:41:50 +02:00
parent 7b90bb03e1
commit c8bf142451
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class DialpadActivity : SimpleActivity() {
dialpad_clear_char.setOnLongClickListener { clearInput(); true } dialpad_clear_char.setOnLongClickListener { clearInput(); true }
dialpad_call_button.setOnClickListener { initCall(dialpad_input.value, 0) } dialpad_call_button.setOnClickListener { initCall(dialpad_input.value, 0) }
dialpad_input.onTextChangeListener { dialpadValueChanged(it) } dialpad_input.onTextChangeListener { dialpadValueChanged(it) }
dialpad_input.requestFocus()
SimpleContactsHelper(this).getAvailableContacts(false) { gotContacts(it) } SimpleContactsHelper(this).getAvailableContacts(false) { gotContacts(it) }
disableKeyboardPopping() disableKeyboardPopping()